IPTables - how to edit file in Nano or VI

NYGiantsFan
NYGiantsFan used Ask the Experts™
on
Hi,
I just want to edit IPtables using Nano or VI.  I seem to only find commands to edit painfully slowly from the command line.  Can anyone tell me what file I should edit IPtables and what is its location.

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can edit the config file directly.  Which Linux distro are you using?  Red Hat family may have it in:

/etc/sysconfig/iptables

Author

Commented:
thanks... i found what I was looking for.  It was named something different by this distro.

Author

Commented:
My distro had it names something different from IPTables.... frustrating.
If you have Ubuntu, it is not using IP Tables currently and it is not my fault:)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial