iptables keeps loading instead of the service being switched off
1 Attachment(s)
I have this server where I have used Iptables some time back to use redirection. Now I am starting the server with configured ports so I don't need to use port redirection. I have set the iptables to off mode for all runtimes using this
Code:
chkconfig iptables off Now the moment I restart the iptables service, it takes up the allow all rules which I have I set up by default. Now every day I startup the server, I need to manually stop the iptables service. Worst part is even a cron job to stop the service doesn't work. All other cron jobs work fine. Any pointers will help. server used is Red Hat Enterprise Linux. |
Did you searched in /etc/rc.local to see if there is somechind of command/script that stars the firewall at startup?
|
Nopes the file has nothing related to iptables. Here goes
Code:
#!/bin/sh |
Well, you can try by using this command in rc.local, when the server starts up:
Code:
/etc/init.d/iptables stop |
Finally found the error. Silly mistake. The Glasffish server script the starting the firewall.
|
All times are GMT -5. The time now is 11:32 PM. |