Allows you to search a variety of questions and answers
After you add the rules and issue the 'iptables-save' command, you want those rules to remain there after a reboot. This is a bit trickier to do than on a RH based system. Here is one way:
1. Save your iptables to a file using the following command:
Code:
iptables-save > /etc/iptables.conf
2. Then edit the /etc/network/interfaces file by adding the following line right after 'iface eth0 inet static':
Code:
pre-up iptables-restore < /etc/iptables.conf
That should do it!
This is also how you change the firewall rule on Debian, essentially restarting the firewall.
A good how-to is also located here: http://wiki.debian.org/iptables
I love AYK. been with them for over 5 years and the best ever
Great prices and service! Truly is painless, professional and polite (That's their slogan).
Great servers, Great Service, Awesome uptime! Our company has been working with AYKSolutions for almost 3 years, hosting several servers for mission-critical projects. The network downtime has been way lower than 30 minutes for OVER 3 years and.. one of our Linux servers scored 450 days of uptime! Needless to say, their Ticket Support always responds in a matter of minutes. At any time of the d ay! I would rate them 10/5 if I could! Kudos to a great company! :)