LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-11-2007, 02:43 AM   #1
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
Shorewall + Moblock?


Hi,

I tried following this to a "T":
http://forums.phoenixlabs.org/showthread.php?t=15360

It didn't work.

Anyone have any suggestions??
 
Old 12-11-2007, 04:05 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by opioid View Post
I tried following this to a "T":
http://forums.phoenixlabs.org/showthread.php?t=15360

It didn't work.

Anyone have any suggestions??
My suggestion is that you explain to us exactly what happened, or what part you need help with. Saying "it didn't work" doesn't really give us much to work with. If people are going to volunteer time to help you with your issue, the least you could do for them is take a minute or two to post a useful description of it.

Last edited by win32sux; 12-11-2007 at 04:11 AM.
 
Old 12-11-2007, 12:46 PM   #3
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Original Poster
Rep: Reputation: 15
win32sux: I thought the issue would be made apparent by including the phoenixlabs.org thread. The "it" refers to the tutorial. What more can I give you?

Here are my shorewall rules; as you can see they are pretty vanilla:

Code:
# cat shorewall/policy 
#
# Shorewall version 4 - Policy File
#
# For information about entries in this file, type "man shorewall-policy"
#
# The manpage is also online at
# http://www.shorewall.net/manpages/shorewall-policy.html
#
###############################################################################
#SOURCE         DEST            POLICY          LOG             LIMIT:BURST
#                                               LEVEL
$FW         net      ACCEPT
net         all      DROP        info
all         all      REJECT      info
#LAST LINE -- DO NOT REMOVE


# cat shorewall/rules 
#
# Shorewall version 4 - Rules File
#
# For information on the settings in this file, type "man shorewall-rules"
#
# The manpage is also online at
# http://www.shorewall.net/manpages/shorewall-rules.html
#
############################################################################################################################
#ACTION         SOURCE          DEST            PROTO   DEST    SOURCE          ORIGINAL        RATE            USER/   MARK
#                                                       PORT    PORT(S)         DEST            LIMIT           GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW
SSH/ACCEPT           net                     $FW
Web/ACCEPT           net                     $FW
NTP/ACCEPT           net:192.168.1.101       $FW

ACCEPT               net                     $FW      tcp      631
ACCEPT               net                     $FW      udp      631

ACCEPT               net $FW tcp 49999    
ACCEPT               net $FW udp 49999
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
These are my current rules, and they do as expected. Changing ACCEPT to NFQUEUE breaks internet.

TIA,
-O

Last edited by opioid; 12-11-2007 at 12:49 PM.
 
  


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 doesn't appear ggeo Debian 4 03-16-2007 02:32 PM
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
I Need Help With Shorewall zebra90210 Linux - Security 1 10-23-2003 01:57 PM
Can someone help me with shorewall... STILL! Godsguitarist Linux - Newbie 3 10-23-2003 10:22 AM
shorewall? sk8guitar Linux - Security 1 08-19-2003 10:04 PM

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

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