how to run iptables

Asked by aneesh on 2010-01-01

Hai all friends

I have a iptables firewall script in my ubuntu 8.04 server, I can flush the firewall script using " iptables -F " , Is there any command for running iptables script without restarting the pc.Since it is very critical server I cannot restart the server and it has no graphical mode available.

                                                                                          Happy new year to all of you
                                                                                             Aneesh T V

Question information

English Edit question
Ubuntu iptables Edit question
No assignee Edit question
Last query:
Last reply:
aneesh (aneesholv) said : #4

 I actually want a command for running my iptables script .
             My iptables script name is aneesh and also entered the path of aneesh
in rc.local file. After I flush the script through "iptables -F " , how can I again run the script without restarting the system. Here no graphical mode is available to run graphically.

dinar qurbanov (qdinar) said : #5

i do not know about rc.local file.
i know this way:
sudo iptables-restore < /etc/iptables/iptables.txt

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.