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
After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices are very reasonable, I haven't experienced a moment of downtime, the support is excellent and truly 24/7. You have a critical issue at 2am? You will have it sorted out in less than 15 minutes. If you are looking for honest, reliable and affordable hosting provider, look no further!
I have a two small shared hosting packages and the price I pay I don't expect to receive very good support. I accept with any shared hosting uptime cannot be guaranteed neither can it be 100% and anyone who suggests otherwise is living a dream. However on the occasions I have opened a ticket they have been answered and investigated promptly. I have been with ayksolutions.com since Jun/18/2008 oh wow where has the time gone!