LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-12-2012, 10:55 PM   #1
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
How to turn off Firewall in ubuntu at system start up


Hi
Im new to ubuntu distro .I could find two set of firewall iptables as well as ufw running. whenever system get reboot and making my system unreachable.How can i disable ufw as well iptables in boot level.
 
Old 06-13-2012, 12:41 AM   #2
rramesh1
LQ Newbie
 
Registered: May 2011
Posts: 14

Rep: Reputation: 1
I am not sure of ufw, for the regular firewall, you could do this.

service iptables save
service iptables stop
chkconfig iptables off
 
Old 06-13-2012, 01:14 AM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
/etc/ufw/ufw.conf: sets whether or not ufw is enabled on boot

https://wiki.ubuntu.com/UncomplicatedFirewall


Quote:
Originally Posted by jayakumar01 View Post
Hi
Im new to ubuntu distro .I could find two set of firewall iptables as well as ufw running. whenever system get reboot and making my system unreachable.How can i disable ufw as well iptables in boot level.
 
Old 06-13-2012, 02:08 AM   #4
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
Hi
Quote:
chkconfig iptables off
Does not works to me in ubuntu
 
Old 06-13-2012, 02:18 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
sudo ufw disable
 
Old 06-13-2012, 02:24 AM   #6
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
Hi craigevil,
I had executed command Service ufw disable ,But system Reboot service ufw getting enabled automatically .It Block ping service ,ssh service.So my Server get unreachable.How can i disable firewall at startup.I could know

chkconfig iptables off .Does these think in redhat

Whether there is any such alternatives to disable in ubuntu distro
 
Old 06-13-2012, 11:52 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Install sysv-rc-conf , run it as root, and uncheck ufw or iptables.
Ubuntu should have gufw installed.

Or even better learn how iptables work and setup up ufw properly.
The default is Allow all outgoing and Deny incoming. Which at least on my laptop does not block any apps or commands from working.
 
  


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
Ubuntu firewall doesn't start on boot khdani Linux - Newbie 12 09-27-2010 12:41 AM
How to turn firewall siawash Ubuntu 11 07-20-2009 05:52 PM
How to turn off firewall Eileen Linux - Networking 4 10-24-2005 02:40 AM
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 09:39 AM
How do I turn off the firewall? regularguy123 Linux - Newbie 2 07-15-2004 03:06 PM


All times are GMT -5. The time now is 12:47 PM.

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