LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-15-2005, 07:29 PM   #1
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Rep: Reputation: 15
Shorewall Routing Internet access issues


Hi, I've read the Howto's and the extremely helpful threads in this subject, but after four days of changing this and trying that I'm still not having success. OK I installed Mandrake 10.0 official on a dual pentium HP box. I installed shorewall thru drake. I updated shorewall to 2.2.0-1 and successfully copied the files for a two interface setup. I want to use the Linux box as a firewalled router and connect my second box running XP with internet access for both boxes. My Linux box has two nic cards. My ISP provided me with a static ip address and the two dns ip addresses. My topology has been my ISP's modem connected to DLink router connected to a hub and my two boxes connected to that hub(My Linux box accesses the internet with no problem in this setup). I would like to replace the DLink router and use my Linux box instead.Also, I would like to use IP Masquerading SNAT. Can someone please help me make this work? I want to wean away from gui and master the command line so instructions in this format would be awesome. Please instruct if I need to post more info

thank you!!!

Zones file
#ZONE TYPE OPTIONS IN OUT
# OPTIONS OPTIONS
fw firewall
net ipv6
loc ipv6

Policy file
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
loc net ACCEPT
net all DROP info
all all REJECT info
FW net ACCEPT

Masq file
#Interface Subnet Address
eth0 eth1 my static isp address

Interfaces file
ZONE INTERFACE BROADCAST
net eth0
loc eth1

/etc/resolv.conf file

nameserver myisp's two dns servers addresses
 
  


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 Will Not Allow Samba Internet Access rrrssssss Linux - Networking 1 12-10-2005 05:10 AM
Internet access issues using Mozilla & Fedora - configuration? APD Linux - Newbie 1 11-11-2005 11:34 AM
Internet sharing routing issues via PPP crocks21 Linux - Networking 9 12-07-2004 09:36 PM
Advanced Networking - Multiple gateways, routing question/shorewall micaheli Linux - Networking 2 09-30-2004 12:05 AM
Shorewall w ulog issues igbe Mandriva 0 07-24-2004 04:07 PM


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