- Forums
- Linux Hosting
- Command To Check Current Iptables Configuration
you can use the following command in you linux server using your shell, you can access the shell terminal by starting a ssh session, once you have started the ssh connection, send this command for checking the iptables [1369], Last Updated: Mon Jun 24, 2024
Hostman
Sun Mar 21, 2010
0 Comments
430 Visits
you can use the following command in you linux server using your shell, you can access the shell terminal by starting a ssh session, once you have started the SSH connection, send this command for checking the iptables configurations settings in your server, the command to use is
iptables -n -L once you have executed the command, you will see a list that could look like this:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination