Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 11-30-2007, 10:37 PM   #1
Senior Member
Registered: Apr 2003
Posts: 3,673

Rep: Reputation: 55
How to restore iptables starting script

Hi folks,

Ubuntu 7.04 server amd64

Just found iptables NOT running which, I suppose, was caused by accidentally deleting /home/satimis previously.

$ sudo /etc/rc.local start/stop/restart
No response (w/o printout)

Neither I find;
$ sudo ls /etc/init.d/ | grep iptables
No printout

The file /etc/rc.local is still there with rules intact.

$ ls -l /sbin/iptables
-rwxr-xr-x 1 root root 57336 2007-07-06 02:17 /sbin/iptables
is still there.

Please advise where can I get the starting script "iptables" back?

Which is the correct step starting iptables;
$ sudo /etc/rc.local

$ sudo /etc/init.d/iptables

Please advise. TIA


Last edited by satimis; 11-30-2007 at 11:44 PM.
Old 12-01-2007, 12:11 AM   #2
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Would this help?

Look under firewalls in the following link:

It also looks like you could install firewall builder and create a firewall using a GUI:
Old 12-01-2007, 06:03 AM   #3
Senior Member
Registered: Apr 2003
Posts: 3,673

Original Poster
Rep: Reputation: 55
Originally Posted by ehawk View Post



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables-restore +script error: bad argument COMMIT xorl Linux - Server 5 04-14-2016 04:51 PM
Need to restore iptables config Jorophose Linux - Security 5 10-15-2007 02:22 AM
Restore iptables file RH AS 5 AQG Linux - Security 4 10-10-2007 02:49 PM
starting of x fails because of alsactl restore rangalo Slackware 9 04-30-2007 05:21 AM
iptables & rc.local starting script = applications are slowing down. immer Linux - Networking 3 12-13-2003 10:11 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration