1

Firewall rule for multiport not getting deleted :-(

view story
linux-howto

http://www.unix.com – The REJECT rule in iptables is as shown below Code: /etc/sysconfig/iptables>> -A INPUT -s 10.110.110.52 -d 10.110.110.53 -p tcp -m tcp --dport 7800 -j REJECT --reject-with icmp-port-unreachable -A OUTPUT -s 10.110.110.53 -d 10.110.110.52 -p tcp -m tcp --dport 7800 -j REJECT --reject-with icmp-port-unreachable in the scripts i am using, commands to create and delte firewall as below Code: DeleteFirewall.sh>>   /sbin/iptables -D OUTPUT -p tcp --dport 7800 -s ${myip}/32 -d ${peerip}/32 -j REJECT   /sbin/iptables -D OUTPUT -p tcp --sport 7800 -s ${myip}/ (HowTos)