LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-29-2005, 03:19 PM   #1
wellington
Member
 
Registered: Apr 2004
Location: Caaanada
Distribution: KUbuntu 6.10
Posts: 47
Blog Entries: 1

Rep: Reputation: 15
Firewall on - internet off.


I tried using the built in firewall in Mandrake 9.2 When I enable it, my internet stops working. How do I find out what ports I need to have open, and how do I open them. I'm fairly new to linux, so please explain carefully. Thanks.
 
Old 01-29-2005, 09:09 PM   #2
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
I dont know how the mandrake Firewall works but, If your using KDE you might want to download firestarter or Guarddog, they are front ends for iptables and very easy to use and understand.
 
Old 01-31-2005, 04:50 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
I tried using the built in firewall in Mandrake 9.2 When I enable it, my internet stops working. How do I find out what ports I need to have open, and how do I open them.
I am not familiar with this mandrake firwall either...but I want to explain that you don't want to start opening ports. Iptables (which I am certain this mandrake firewall is a front-end for) is a stateful filter. What this means is that it is able to tell from the packets if it is a response to a packet sent from your own box. This is what you need to enable. The iptables rule would be:
Code:
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
What this rule does is allow any packets that are established or related to a packet/transaction initiated from _your_ box back through the firewall.

If you start opening ports wantonly then you are just opening it up to everyone.

I am afraid I cannot help translate this into mandrake firewall. There must be some sort of docs for it, yeah?
 
  


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
xdmcp over internet (and behind router firewall) TheOneAndOnlySM Linux - General 5 12-04-2008 12:52 PM
Firewall paralysing internet connection? Navyblue Linux - Newbie 2 08-30-2005 01:01 PM
firewall blocking internet k4zau Linux - Networking 1 09-24-2004 03:18 PM
Determining Internet IP from behind firewall belorion Linux - Networking 3 02-07-2004 10:53 AM
Internet connection sharing with Firewall steve1401 Linux - Networking 0 06-30-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:08 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