LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-29-2003, 10:06 AM   #1
richlawson
LQ Newbie
 
Registered: Jun 2003
Posts: 22

Rep: Reputation: 15
Shorewall policies + rules


Hi,

Wonder if anyone can help. I've just come over to Linux from Windows. I've been trying to configure shorewall and it seems to be up and running which is a good sign. The only thing is, it's running but it appears to be wide open.

I ran nmap against my box from another machine connected to the internet. I had quite a few ports in state open and certain ports were accepting connection requests. Not to secure eh

I have a policy to reject all from the net to the fw.
I've tried adding various rules also such as reject all from the net to a specified port on tcp + udp. But nmap still picks these pesky ports up as open and I can still connect to them

What am i missing?

Cheers
 
Old 06-29-2003, 10:38 AM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
maybe figure out what ports are opened, and close them specifically in the rules config file. Also, maybe you should find out why these are open in the first place - did a deamon open it? Maybe kill it.
 
Old 06-29-2003, 11:35 AM   #3
richlawson
LQ Newbie
 
Registered: Jun 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Ah looks as if i've been having a blonde day!

Was concentrating on traffic coming from the net when as cuckoopint pointed out I need to stop the traffic going out from my box!!

All makes sense now.. DOH!

Thanks for the help
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
Shorewall .....rules or tos? matthewa Linux - Security 3 06-26-2005 01:57 PM
Shorewall ignores the rules? N3K0KUN Linux - Security 3 09-06-2004 02:48 PM
shorewall - rules for multiple local sites gjmwalsh Linux - Security 9 06-19-2004 10:06 PM
Viruses, ipchains, dynamic rules, rules with regular expressions marktaff Linux - Security 2 09-25-2001 04:01 AM


All times are GMT -5. The time now is 01:19 AM.

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