Review your favorite Linux distribution.
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, 09:37 PM   #1
Senior Member
Registered: Apr 2003
Posts: 3,576

Rep: Reputation: 54
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 10:44 PM.
Old 11-30-2007, 11:11 PM   #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, 05:03 AM   #3
Senior Member
Registered: Apr 2003
Posts: 3,576

Original Poster
Rep: Reputation: 54
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
Need to restore iptables config Jorophose Linux - Security 5 10-15-2007 01:22 AM
Restore iptables file RH AS 5 AQG Linux - Security 4 10-10-2007 01:49 PM
Iptables-restore +script error: bad argument COMMIT xorl Linux - Server 4 06-24-2007 09:50 AM
starting of x fails because of alsactl restore rangalo Slackware 9 04-30-2007 04:21 AM
iptables & rc.local starting script = applications are slowing down. immer Linux - Networking 3 12-13-2003 09:11 AM

All times are GMT -5. The time now is 06:06 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