Quote:
Originally Posted by Sathish86
Hi Ztcoracat,
i tried all the procedure mentioned on the links, but it is not helpful.
I start my server in "Rescue Mode", but when I login, there is no such thing as /etc/sysconfig/iptables to edit.
What can be done so I can edit that file from this rescue mode? Or at least, is there a way to reboot the system while ensuring, iptables is not started, while inside of the rescue mode?
Is there any command to mount files in Grub> mode for fixing?
|
Sorry those links didn't help.
I you don't have the /etc/sysconfig/iptables it could be a bug or maybe the iptables are not loading.
That file is responsible for the firewall configuration.
Manual customization of that file is not recommended but it's not prohibited.
http://unix.stackexchange.com/questi...not-recommende
https://access.redhat.com/discussions/1341583
If you didn't set up your setup or system-config-firewall-tui than that's my guess why you don't have that file.
I am not good with deleting, inserting, replacing or flushing rules for iptables. Sorry.
You can break the network connection with mistakes in rules if your not careful.
ASAIK you can't mount files in GRUB but you can edit partitions and the linux image. (edit the kernel line)
Aside from that the file that you can mount in Grub is the file where the first boot image is found and I don't think you want that.
If you mean is there a way to stop iptables? Yes......
Execute 'setup' in the terminal. Than go to "firewall configuration" Uncheck Enabled box and click ok.
<OR> go here and follow these instructions.
http://www.cyberciti.biz/faq/fedora-...able-firewall/
-:::-If you can't disable the iptables before going into rescue mode your best bet is to
try what jefro said and boot with a Live CD.-:::-