LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-04-2003, 10:32 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Config shorewall-two-interface question


Hi folks,

RH9
Shorewall-1.4.7
two-interface
Quickstart guides and
http://www.shorewall.net/PPTP.htm
===========
Hardware config
PC1
eth0 connected to broadband via ADSL modem
eth1 connected to PC2 via a crossover cable

PC2
eth0 connected to eth1 of PC@ for broadband sharing
(not connected yet)

Can any folk assist me to understand why uncomment following line on /etc/shorewall/policy
#all all REJECT info

resulting in PC1 cut off from Internet


Hereinbelow are the respective config files
/etc/shorewall/policy
#SOURCE DEST POLICY LOG LEVEL
loc net ACCEPT
fw net ACCEPT
net all DROP info
#all all REJECT info

/etc/shorewall/zone
#ZONE DISPLAY COMMENTS
modem modem ADSL Modem
net Net Internet
loc Local Local Networks
#dmz DMZ Demilitarized zone

/etc/shorewall/tunnels
# TYPE ZONE GATEWAY GATEWAY
pptpclient modem 192.168.1.1

/etc/shorewall/rules
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER
ACCEPT fw net tcp 53
ACCEPT fw net udp 53
ACCEPT loc fw tcp 22
ACCEPT loc fw icmp 8
ACCEPT net fw icmp 8
ACCEPT fw loc icmp 8
ACCEPT fw net icmp 8

/etc/shorewall/interfaces
#ZONE INTERFACE BROADCAST OPTIONS
#net eth0 "-" dhcp,routefilter,norfc1918
loc eth1 detect
modem eth0 192.168.1.255 dhcp

Thanks in advance.

B.R.
satimis
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
SHOREWALL - Standard two-interface loses shares in SMB4K turnbui Linux - Networking 0 07-20-2005 06:57 AM
ADSL + Shorewall in1 phisical interface not work sergyltd Linux - Security 2 11-11-2004 05:29 AM
Having trouble w/shorewall config eroica Linux - Security 3 09-24-2004 09:32 AM
Broadband sharing - shorewall config satimis Linux - Networking 2 11-06-2003 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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