Posts

Showing posts from June, 2009

Setting reverse DNS in Bind in Debian

If you have a simple DNS setting without Reverse DNS, this might help you to setup. Step 1: Add Reverse zone entery in /etc/bind/named.conf // add local zone definitions here zone "0.168.192.in-addr.arpa" { type master; file "/etc/bind/yourdomain.rev"; zone "yourdomain.com" { type master; file "/etc/bind/yourdomain.com"; allow-query { any; }; Step 2: Create the /etc/bind/yourdomain.rev file $TTL 300 0 @ IN SOA ns.yourdomain.com. postmaster.yourdomain.com. ( 1312 ; Serial 300 ; Refresh 150 ; Retry 4W ; Expire 1H ) ; Negative Cache TTL ; ; NS ; IN NS ns.yourdomain.com. 1 IN PTR www.yourdomain.com....

Allow TFTP traffic Through IPCOP Firewall

It is weired that IPCOP block the tftp traffic from external server to internal. In order to work properly we have to add rule manually in the /etc/rc.d/ imran@imran-laptop:~$ ssh root@192.168.0.1 -p 222 root@10.47.0.1's password: Last login: Mon Jun 8 16:21:12 2009 from imran-laptop.owera.com root@firewall:~ # nano /etc/rc.d/rc.network ## add following for TFTP traffic modprobe ip_conntrack_tftp modprobe ip_nat_tftp Reboot the Firewall to take effect or enter the above command in command line. Further Info: http://keystoneit.wordpress.com/2007/11/25/tftp-through-ipcop-or-other-iptables-firewalls/