LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2007, 09:37 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,425

Rep: Reputation: 53
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
Code:
-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
???

OR
$ sudo /etc/init.d/iptables
???


Please advise. TIA


B.R.
satimis

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

Rep: Reputation: 48
Would this help?

http://ubuntuforums.org/showthread.php?t=19106

http://townx.org/simple_firewall_for...using_iptables

Look under firewalls in the following link:

http://wiki.schwink.net/index.php?ti...ntu_web_server

It also looks like you could install firewall builder and create a firewall using a GUI:

http://www.freesoftwaremagazine.com/...rewall_builder

http://www.cs.cornell.edu/w8/~djm/ub...y/#firestarter
 
Old 12-01-2007, 05:03 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,425

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by ehawk View Post
Thanks


B.R.
satimis
 
  


Reply


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 08:54 AM.

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