how to run iptables

Asked by aneesh

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

Language:
English Edit question
Status:
Answered
For:
Ubuntu iptables Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
dinar qurbanov (qdinar) said :
#1
Revision history for this message
Soul-Sing (soulzing) said :
#2
Revision history for this message
dinar qurbanov (qdinar) said :
#3
Revision history for this message
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.

Revision history for this message
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.