• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

linux firewall not able to disable

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i am trying to disable firewall on my Linux8.0 but i am not able to.
i go to "security level settings" and apply "No Firewall" but it doesn't work! when i go back to the same settings it says me firewall activated..
can anybody guide me? do i need to give more details? i am not a great user of linux as OS so i might be missing something obvious...
thanks
maulin
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which distribution of linux are you using?
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
sorry. forgot to write that. i am using Red Hat 8.0
thanks
maulin
 
Ravee Bhat
Ranch Hand
Posts: 72
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like RHL8.0 has problems with ipchains.
for me 'ipchains -L' output is different from what firewal-config shows.
could it be problem with ipchains_save ?!!
 
Greg Harris
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
redhat 8.0 uses iptables... not ipchains. i am not familiar with iptables, so i reinstalled redhat 7.2 for to use ipchains and then upgraded the packages i wanted.
you might be able to turn iptables off and then install ipchains... i tried to do that, but there were some package dependancy issues that i could not resolve.
 
shweta bohra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i'll try to solve ur prob....
u must go to rootprompt n simply flush all the iptable enabled rules..........
u can check this by......#iptables -L
THIS WILL SHOW U THE LIST OF FIREWALL RULES ENABLED....
now to turn off these..........flush all
by.......#iptables -F
n to delete any user defined chains use -x (chain name........)
that u kan conferm from first command if u find any name other than input ,output,n forward then that shld b user defined so delete it..........
now check again thru #iptables -L
U SHLD FiND........
[root@localhost root]# 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
[root@localhost root]#


IF U FIND LIKE THIS THAN ur firewall rules have been disabled..............

hope this'll work
good luck
 
Mahesh Rana
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg,

Isnt iptables supposed to be better than ipchains ?

Also, here are the options you have for iptables:

/etc/init.d/iptables {start|stop|restart|condrestart|status|panic|save}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic