Iptables
<< Security | Index | Netstat >>
Show iptables rules
- iptables --line-numbers -vnL
Delete a rule
Input a rule at a certain position
Trace a PID and show the port it uses
- strace -p 30456 -f -e trace=network -s 10000
Save the new rules
- /etc/init.d/iptables save