how could i add / remove iptable rules on cet os 5.4 final for tcp / udp base on ports -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100423/f2e3dc7a/attachment-0002.html>
Am 23.04.2010 20:31, schrieb cahit Eyig?nl?:> how could i add / remove iptable rules on cet os 5.4 final for tcp / udp > base on portshttp://wiki.centos.org/HowTos/Network/IPTables Alexander
>how could i add / remove iptable rules on cet os 5.4 final for tcp / udp base on portsWow Cahit, you are a sucker for punishment buddy:) First, post in text, then do a smidge of reading first... `man iptables` or google? I am guessing your iptables are stock as install left them? You might try `system-config-security-level-tui` which can actually be scripted, or you can issue low level commands like: iptables -I RH-Firewall-1-INPUT -m state --state NEW -m multiport -p tcp -s 10.0.0.0/24 -d 10.0.0.0/24 --dports xxx,yyy,zzz -j ACCEPT etc etc etc
Have a look at shorewall (google it) for the best thing I've ever seen for managing a Linux firewall 2010/4/23 cahit Eyig?nl? <cahit.eyigunlu at gmail.com>:> how could i add / remove iptable rules on cet os 5.4 final for tcp / udp > base on ports > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- ?Don't eat anything you've ever seen advertised on TV? - Michael Pollan, author of "In Defense of Food"