Disabling Firewall From Command Line
Hello,
I installed Red Hat 9 in "server" mode and I enabled the firewall during install. Now, I can't access Apache remotely so I need to disable the firewall. Anyone know how to do this from the command line? Its a server install so I didn't install X. The system isn't powerful enough to handle X anyway. Thanks -Ben |
# service iptables stop
# chkconfig iptables off |
Howzit
Nothing wrong in what ashamril said but could try this as well: option 1: service iptables stop service iptables save option 2: ntsysv setup both these options are mneu driven and allows u stop and save the services. chow |
Thanks both of you! Now will this make it so the firewall never starts or do I need to run some other commands to make it not start everytime I boot the server. Not that I plan on rebooting that often, but still. Thanks
|
WARNING!!
aqoliveira Think carefully about your 1st option... service iptables stop...clears the rules service iptables save... will save the current active rules (now cleared=none) into /etc/sysconfig/iptables, effectively wiping the old ruleset out... :eek: |
All times are GMT -5. The time now is 06:23 AM. |