Results 1 to 7 of 7
Hi everyone
I'm new with linux, I just want to know how to check if iptables is currently active, and how to disable it ?? I'm using SUSE 10.
Thanks ...
- 01-12-2011 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
newbie question about iptables
Hi everyone
I'm new with linux, I just want to know how to check if iptables is currently active, and how to disable it
?? I'm using SUSE 10. 

Thanks for your time
- 01-12-2011 #2Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
You can use Yast to turn on and off the firewall
- 01-12-2011 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
From YaST:
===========================================
┌Switch On and Off───────────────────────
│Current Status: Firewall is not running
===========================================
Does it mean that iptables is disabled?
- 01-13-2011 #4Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
in short yes. The yast interface is actually to susefirewall2 which uses iptabes to set the rules.
You can also run iptables -L from the command line ( as root or sudo) to see if iptables is running alone, but it shouldn't be.
- 01-13-2011 #5Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
Hi!
executed iptables -L, and got this output:
======================================
reilbq01:~ # 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
======================================
I'm assuming that because there's no entry for each "chain", iptables is off right?
- 01-14-2011 #6Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
Well, the output of rules implies that iptables is running, but from the rules printed, everything is set to ACCEPT, so it will not block anything.
Is your goal to not have the service even loaded, or just to not have anything blocked?
- 01-14-2011 #7Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
Yes, I just wanted to make sure that iptables wasn't blocking anything because of some tests I'm doing with an app.
Thanks again, you made my day


Reply With Quote