Open ports and save iptables rules

Viewing all iptables rules in Linux

How to list rules for given tables

Type the following command as root user:

Allow Incoming

Allow TCP and UDP ipv4

Allow TCP and UDP ipv6

Allo Outgoing

Allow TPC and UDP ipv4

Allow TCP and UDP ipv6

Allow Multiple Ports

Block a Port

Save iptables rules

Load iptables

If you edit the iptables configuration file manually

For more info, man iptables

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode