DEVGET.NET

Feeding Your Inner Developer

Month: April 2013

How to set static ip on ubuntu

vim /etc/network/interfaces dynamic: # This file describes the network interfaces available on your system # and how to activate them….

Zimbra 8 restrict sending to external domains

vim /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf check_sender_access hash:/opt/zimbra/postfix/conf/restricted_senders NExt vim /opt/zimbra/conf/zmconfigd.cf Search for “SECTION mta” and append directly under POSTCONF smtpd_restriction_classes local_only POSTCONF local_only…

The equivalent of apt-get update in yum is yum check-update

CentOS Notes to self

The equivalent of apt-get update in yum is yum check-update

What we are essentially going to do here is to punch a hole through our proxy using iptables... The basic syntax for letting an entire DMZ network use a particular port on LAN is as follows..
iptables -I FORWARD -s DMZNetwork/24 -d LANNetwork/24 -p tcp --dport 80 -j ACCEPT
This will let the DMZ network communicate to the LAN network but only via port 80 (in the case where you have an internal server or multiple internal servers you wish everyone to access). To let only one ip through (for instance if you want your mail server to authenticate with an active directory or ldap/ldaps server
iptables -I FORWARD -s 192.168.1.1 -d 10.0.10.1 -p tcp --dport 636 -j ACCEPT
Where 192.168.1.1 is the machine on the hotlan/dmz and 10.0.10.1 is our Active Directory/Ldaps server.. Note: the above example is set for ldaps, if you prefer use ldap (unencrypted, not recommended) change to port 389

DMZ/HotLAN Traffic to LAN

What we are essentially going to do here is to punch a hole through our proxy using iptables… The basic syntax…

Installing Django 1.5.1 with python 2.7.4 on Bluehost

First SSH Into your account (using putty, or terminal if you are on linux) where we will start by moving…

© 2020 DEVGET.NET. Theme by Anders Norén.