Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 226292

Save IPTables rules

$
0
0

Hi,

You can use your own BASH script to force your rules to the iptables firewall.
to verify what are the current rules you can use this command:

iptables -nL

If you want to wipe all of your rules, use this command:

iptables -F

if the rules are good enough for you and you want to save them, use this command:

iptables-save > /etc/sysconfig/iptables

Just another precaution:
If you are not sure at your commands, make sure that you can login to your server via the Linux console.

Thank you,

Daniel Friedman
Trixton LTD.


Viewing all articles
Browse latest Browse all 226292

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>