LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to restore iptables starting script (https://www.linuxquestions.org/questions/ubuntu-63/how-to-restore-iptables-starting-script-603646/)

satimis 11-30-2007 09:37 PM

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

ehawk 11-30-2007 11:11 PM

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

satimis 12-01-2007 05:03 AM

Quote:

Originally Posted by ehawk (Post 2976280)

Thanks


B.R.
satimis


All times are GMT -5. The time now is 03:20 PM.