LinuxQuestions.org
Visit Jeremy's Blog.
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 01-02-2004, 09:27 PM   #1
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
Setting up MDK 9.2 Firewall


I can't seem to get MDK's built-in firewall set up so that Opera AND Konquerer can access the web. When I set it up with no boxes checked like in the instructions it won't let the browsers connect. I've tried it every which way and no luck. What's the secret?
 
Old 01-03-2004, 01:56 AM   #2
axlotl
LQ Newbie
 
Registered: Sep 2003
Location: NYC
Distribution: mandrake 9.2
Posts: 29

Rep: Reputation: 15
This is kind of vague; I assume you are talking about shorewall, the iptables "front-end"? What's your connection (direct to internet/ through LAN, etc)? Anyway, the browser's in the way, diagnostics-wise.

ping (yourself, local to LAN, to gateway, to external address)

To turn it off, if it is shorewall, go to /etc/init.d and:
./shorewall clear
(I think) to shut down the firewall (just stopping it drops all outside connections).
./shorewall start
back on.

Turn it off, turn it on, ping here, ping there, figure out where and why the connection is blocked.

and...

1) post more detail, or,
2) man iptables

Last edited by axlotl; 01-03-2004 at 01:59 AM.
 
Old 01-03-2004, 08:28 AM   #3
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
raysr, please explain you setup. is your mandrake box a gateway or a standalone machine?

The more time you explain, the less it takes for us to give you a solution.
 
Old 01-04-2004, 12:26 PM   #4
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Standalone box. It's the firewall that is integrated in MDK, I don't know what the name of it is. The set-up instructions say to leave all boxes unchecked but it doesn't work that way. It has "Web server, pop and Imap server, domain name server, SSH, FTP, mail server and Everything (no firewall)". I also has advanced to enter ports.
 
Old 01-04-2004, 10:30 PM   #5
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
and what do you want to do with your machine? just brose the internet? just leave everything unchecked, so that you drop any incoming connection.
 
Old 01-05-2004, 09:00 AM   #6
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
That's the problem I have, I leave everything unchecked and it won't let the browsers hook up.
 
Old 01-05-2004, 09:02 AM   #7
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
and if you check them all, it passes?
 
Old 01-05-2004, 09:47 AM   #8
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
It has a box "Everything, no firewall" that's the only way it will work. The instructions say to leave everything unchecked but no go.
 
Old 01-05-2004, 09:52 AM   #9
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
hmmm, I don't use mandrake so I can't help you more here...

have you checked the errata? are all your packages up to date?
 
Old 01-05-2004, 09:59 AM   #10
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Yes as far as I know. Oh well....
 
Old 01-05-2004, 01:31 PM   #11
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
I tried using ports "80/tcp and 80 upd" but it still won't work. What ports are the web browsers using? I looked in etc/services and found http and www, they were 80's.
 
Old 01-05-2004, 01:43 PM   #12
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
There must be a bug somewhere, because this firewall is usually blocking only incoming connexions, not outgoing.

port for http is 80, yes
 
Old 01-05-2004, 07:16 PM   #13
axlotl
LQ Newbie
 
Registered: Sep 2003
Location: NYC
Distribution: mandrake 9.2
Posts: 29

Rep: Reputation: 15
"t has "Web server, pop and Imap server, domain name server, SSH, FTP, mail server and Everything (no firewall)".

If that's Mandrake, then what we have here is shorewall, as I mentioned before. It is a configuration tool for Netfilter/iptables.

You ask: "What's the secret?" The secret is this: the only way you are going to get that thing configured is to go to those websites and read. The guy who made shorewall is something of an open-source software rarity: an exhaustive documentor, and his website is quite thorough. You are probably not going to get what you need by checking boxes, though, because linux firewalling is still kinda nuts and bolts; it's just about imposible to use without getting your hands rather dirty at the CLI.

Well, if you must, is this a kinda standard default recent Mandrake distro? Yes? ok. Open your browser, type https://127.0.0.1:10000 in the address bar, and see if you can make it work by clicking around in there. God knows it's helped me once in a while.
 
Old 01-05-2004, 07:46 PM   #14
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks for the replies! Downloaded "guarddog" and it works great! Checked on pcflank.
 
  


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
firewall and antivirus programs for mdk 10? webazoid Linux - Software 6 07-01-2004 11:35 PM
samba stops when MDK integrated firewall activated arete1969 Linux - Networking 2 04-06-2004 09:59 PM
MDK 9.2 firewall and opening ports kalock Linux - Networking 11 12-02-2003 12:20 PM
Bastille & Firewall problems with MDK 8.2 kalock Linux - Networking 0 11-17-2003 12:04 PM
MDK firewall useless?! hulkt Mandriva 4 10-30-2003 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration