Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Scott Hughes
Thanks for the assistance everyone. When I did the save command, I still did not see the line I listed below. I realized that it was completely wrong (syntax). What I had was: iptables -A INPUT -p tcp -m udp --syn --dport 24441 -j ACCEPT What it should have been to work properly is: iptabl

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Maxwell Smart
Not at all strange. If you reboot and # cat iptables you'll find it's not present. If you then run the firewall.sh script and then # cat iptables it will be present and then by running # iptables-save it will be saved as iptables and will be "live" after the next reboot. On 05/26/2010 03:55 PM, S

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Scott Hughes
I guess what I am looking for is a file to check and make sure that everything with the firewall settings is starting at boot time. It seems that everything else in the firewall.sh script is starting at boot time, just not the Pyzor setting. Very strange. Thanks, Scott On 5/26/10 5:36 PM,

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Maxwell Smart
Scott, Iptables is automatically loaded. You just need to save your addition to the iptables. # iptables-restore < //etc/sysconfig/iptables.save/, replace this with whatever your edited file name is. As Scott noted below running the iptables-save once you've run the firewall.sh script will sav

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Scott Hughes
I don't think it is in the init scripts, or it would remain after a reboot. How does one check the init scripts, please? Thanks! On 5/26/10 5:16 PM, Maxwell Smart wrote: That's presuming that it is in the init scripts. Ignore this moment of stupidity. On 05/26/2010 02:46 PM, Eric Broch wro

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Maxwell Smart
That's presuming that it is in the init scripts. Ignore this moment of stupidity. On 05/26/2010 02:46 PM, Eric Broch wrote: > Scott Hughes wrote: >> What is the proper way to add a rule to the firewall that will >> survive a reboot of the QMT server? >> >> When I installed Pyzor onto my server, I

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Maxwell Smart
That's presuming that it is in the init scripts. On 05/26/2010 02:46 PM, Eric Broch wrote: > Scott Hughes wrote: >> What is the proper way to add a rule to the firewall that will >> survive a reboot of the QMT server? >> >> When I installed Pyzor onto my server, I had to open a hole in the >> fire

Re: [qmailtoaster] Easy IP Tables question

2010-05-26 Thread Eric Broch
Scott Hughes wrote: What is the proper way to add a rule to the firewall that will survive a reboot of the QMT server? When I installed Pyzor onto my server, I had to open a hole in the firewall in order for it to work properly. I did this by adding the rule to the firewall.sh script. Now,

[qmailtoaster] Easy IP Tables question

2010-05-26 Thread Scott Hughes
What is the proper way to add a rule to the firewall that will survive a reboot of the QMT server? When I installed Pyzor onto my server, I had to open a hole in the firewall in order for it to work properly. I did this by adding the rule to the firewall.sh script. Now, when the server reboo