Results 1 to 5 of 5
Hello! I am using Ubuntu 9.04 and working on installing squid for a web cache. At the end I am needing to modify iptables. So when I finished up and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-13-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 18
iptables not being recognized
Hello! I am using Ubuntu 9.04 and working on installing squid for a web cache. At the end I am needing to modify iptables. So when I finished up and typed the save command I got:
so I tried to see if it was installed:Code:$ sudo service iptables save $iptables: unrecognized service
So is there a way to get the "r" to go back to installed? I tried running upgrade, install, and update but it is still there.Code:$ dpkg --list iptables Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ri iptables 1.4.1.1-4ubunt administration tools for packet filtering an
Another bit of information for the status:
Also it will not start:Code:$ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
Thanks for any available input!Code:$ sudo service iptable start $iptable: unrecognized service
- 08-13-2009 #2
I don't know Ubuntu so I don't think I'll be able to help you much with the commands but iptables-save should save your rules.
- 08-13-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 18
Yes I am trying to save the setting after I input some iptables commands. And I get the error as shown above saying the service is not recognized.
- 08-14-2009 #4
Do not think you understood me.
Don't use service iptables save
Use iptables-save
- 08-14-2009 #5Just Joined!
- Join Date
- Aug 2009
- Posts
- 18


Reply With Quote

