To edit iptables...
Code Block |
---|
$ sudo vi /etc/sysconfig/iptables $ sudo /etc/init.d/iptables restart |
The syntax is fairly complicated,
and so it is not unreasonable to copy-paste-modify existing lines.
To edit iptables...
Code Block |
---|
$ sudo vi /etc/sysconfig/iptables $ sudo /etc/init.d/iptables restart |
The syntax is fairly complicated,
and so it is not unreasonable to copy-paste-modify existing lines.