LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-03-2006, 04:16 AM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Rep: Reputation: 30
How do I turn off my Firewall in FC4?


Hi Chaps

I am trying to set up a Squid proxy server on this (FC4) machine and, although it works fine on this PC, I cannot access the proxy from any other machine (although I can ping this IP from the other machines).

In order to narrow down the possible problems I would like to (temporarily) disable the firewall in FC4.

How exactly do I do this?

Thanks in advance for your help...

Mark
 
Old 01-03-2006, 06:40 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I used to use FC4, and although I can't remember the exact name of the menu, it's 'Services' or 'Servers' or something like that. Gives you a gui screen to start, stop, and restart such things. You need to temporarily stop iptables.
 
Old 01-03-2006, 07:54 AM   #3
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks RickH,

That did the trick!

It is indeed the Firewall (Iptables) that is stopping access to the Squid proxy from my other machines.

Now all I need to do is work out how I allow them through. Unfortunately Iptables is a complete black art to me...

Any ideas?

Thanks again

Mark
 
Old 01-03-2006, 08:06 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Firewalls are indeed, wizardry. I have dabbled in iptables a little bit, but you wouldn't want any specific advice from me.

I would check out some gui firewall interfaces:
firestarter (Gnome)
guarddog (KDE)

I keep meaning to check out shorewall, but haven't yet.

My advice would be to figure out how to frame your question succintly, and put it on the 'Security' forum here. One of the reasons I switched to Debian was that I discovered it's a lot easier to get help on the Distros (Debian) forum than here.
 
Old 01-03-2006, 08:13 AM   #5
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks for the advice RickH,

I set up a Gentoo box some time ago and I used Shorewall as the firewall on that - mainly because I was scared silly of using Iptables! - and found it to be very good (using a setup walkthrough from the Gentoo forum).

As for the others you mention I've not come across them but I'll check them out.

Thanks again.

Mark
 
Old 01-03-2006, 08:13 AM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Shorewall is nice too... Nice easy to read and edit config files. The gui interface I used was limitted, but editting the configs made it a useful firewall...

Then I shifted firewalling over to the smoothwall box...
 
Old 01-03-2006, 12:38 PM   #7
piforever
Member
 
Registered: Dec 2005
Distribution: CentOS 5 - Debian 5
Posts: 112

Rep: Reputation: 15
not sure if this will help you...but it worked for me.....

I use delegate as a proxy in my machine....

if squid uses port 8080 i will do this

/sbin/iptables -I INPUT -p tcp --destination-port 8080 -j ACCEPT

this will open the port on the squid machine so you can use the proxy.....

I modified this code from http://stanton-finley.net/fedora_cor...ion_notes.html

I did exactly that and i was able to use the proxy from my other machine.....
 
Old 01-05-2006, 04:45 PM   #8
kurtdriver
Member
 
Registered: May 2005
Location: Vancouver, Canada
Distribution: Fedora 18, Puppy Linux, various others
Posts: 107

Rep: Reputation: 15
If I understand correctly, you want to open port 8080 on your machine. I also can't seem to figure out iptables, but in the fedora command line, as root, typesetup, and the firewall configuration, which will let you configure specific ports to allow.
But, I suspect that piforever's solution, if it works for you, is the more elegant solution.
 
Old 01-06-2006, 01:10 AM   #9
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Well thanks Kurt,

But RickH - If you're still listening - Especially thanks to you..

Following RickH's posting (see above) I checked out "Firestarter" and essentially this has solved my problems - I now have a working (and usable) proxy!

Thanks to all...

p.s.

Although Firestarter works on this FC4 machine it gives some strange error messages at boot-up time (it says IPtable support is not enabled in the kernel - which of course it is) On first launching of the GUI Firestarter app it says the firewall failed to start - and then starts...

Anyone else use Firestarter on FC4? - should I be worried about these "errors"?

Thanks again.
 
  


Reply



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
How to turn off firewall Eileen Linux - Networking 4 10-24-2005 02:40 AM
How do I turn off the firewall? regularguy123 Linux - Newbie 2 07-15-2004 03:06 PM
how can i turn off the firewall using Fedora Core 1 ? HeRCuLeSX Linux - Security 4 04-23-2004 12:07 PM
How do you turn off my firewall? phoenix07 Linux - Networking 3 04-11-2004 03:20 AM
Can't turn firewall off nocternalone Linux - Security 11 04-01-2002 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration