[Shorewall-users] cable modem trouble

Aaron Axelsen axelseaa@amadmax.com
Mon, 22 Apr 2002 07:43:17 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C1E9D1.5E3346E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

To get the Connection to Masquerade, in the masq file you need the
entry:
 
eth0    192.168.0.0/24
 
This is assuming that eth0 is your internet, and eth1 is your LAN.
 
Then all you need to do is set your win2k machines with a default route
of 192.168.0.5.  Don't forget to set a DNS server for the connection as
well.
 
Can you not receiver or send any email on the win2k machines or on the
linux machine?
 
 
---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa@amadmax.com
URL: www.amadmax.com <http://www.amadmax.com/> 
 
"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."

-----Original Message-----
From: shorewall-users-admin@shorewall.net
[mailto:shorewall-users-admin@shorewall.net] On Behalf Of
Lino.Catucci@nuon.com
Sent: Monday, April 22, 2002 3:15 AM
To: shorewall-users@shorewall.net
Subject: [Shorewall-users] cable modem trouble



Hello everybody, 

I'm a new user of the shorewall firewall and I've a hard problem getting
the firewall working. 
Can someone please can help me ? 
Here is my situation: 

I've a RedHat linux server with 2 NIC's. One is connected to the
internet with a cable modem with a dhcp ip adress (24.132.59.69) but I
always get this address so it's almost a static one,  and the other one
is eth1 connected to my lan with ipaddress 192.168.0.5

My linux server is used as a firewall and as a webserver and mail server
(Lotus Domino) and I also want to use my server as an internet gateway
(Masquerading) for my other pc's in my lan.

In my lan I've two win2000 machine one workstation and one laptop with
ipaddresses : 192.168.0.1 and 192.168.0.4 
I've downloaded and installed the quick two-interfaces.tgz file and I've
changed the files to my needs. 
But there are still problems with internet access from my 2 windows2000
machines. Also I can't receive or send any email, outgoing mail is
pending and incoming mail get bounced.

It looks like there's now internet connection allowed or there is
something misconfigurated. 

I've attached my files, who I've changed. 
Could some please help me with this problem? 

Thank you so much! 

<<common>> <<interfaces>> <<masq>> <<params>> <<policy>> <<rules>>
<<zones>> 

lino.catucci@nuon.com 
or 
linocatucci@yahoo.com 


------=_NextPart_000_000D_01C1E9D1.5E3346E0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =
size=3D2>To get=20
the Connection to Masquerade, in the masq file you need the=20
entry:</FONT></SPAN></DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =

size=3D2>eth0&nbsp;&nbsp;&nbsp; 192.168.0.0/24</FONT></SPAN></DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =
size=3D2>This=20
is assuming that eth0 is your internet, and eth1 is your=20
LAN.</FONT></SPAN></DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =
size=3D2>Then=20
all you need to do is set your win2k machines with a default route of=20
192.168.0.5.&nbsp; Don't forget to set a DNS server for the connection =
as=20
well.</FONT></SPAN></DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D180093812-22042002><FONT face=3DArial color=3D#0000ff =
size=3D2>Can=20
you not receiver or send any email on the win2k machines or on the linux =

machine?</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>---</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Aaron Axelsen</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>AIM: AAAK2</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Email: <A=20
href=3D"mailto:axelseaa@amadmax.com">axelseaa@amadmax.com</A></FONT></DIV=
>
<DIV align=3Dleft><FONT face=3DArial size=3D2>URL: <A=20
href=3D"http://www.amadmax.com/">www.amadmax.com</A></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>"It said, ""Insert disk =
#3,"" but only=20
two will fit!"</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>"One picture is worth 128K =

words."</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  shorewall-users-admin@shorewall.net=20
  [mailto:shorewall-users-admin@shorewall.net] <B>On Behalf Of=20
  </B>Lino.Catucci@nuon.com<BR><B>Sent:</B> Monday, April 22, 2002 3:15=20
  AM<BR><B>To:</B> shorewall-users@shorewall.net<BR><B>Subject:</B>=20
  [Shorewall-users] cable modem trouble<BR><BR></FONT></DIV>
  <P><FONT face=3DVerdana size=3D2>Hello everybody,</FONT> </P>
  <P><FONT face=3DVerdana size=3D2>I'm a new user of the shorewall =
firewall and I've=20
  a hard problem getting the firewall working.</FONT> <BR><FONT =
face=3DVerdana=20
  size=3D2>Can someone please can help me ?</FONT> <BR><FONT =
face=3DVerdana=20
  size=3D2>Here is my situation:</FONT> </P>
  <P><FONT face=3DVerdana size=3D2>I've a RedHat linux server with 2 =
NIC's. One is=20
  connected to the internet with a cable modem with a dhcp ip adress=20
  (24.132.59.69) but I always get this address so it's almost a static=20
  one,&nbsp; and the other one is eth1 connected to my lan with =
ipaddress=20
  192.168.0.5</FONT></P>
  <P><FONT face=3DVerdana size=3D2>My linux server is used as a firewall =
and as a=20
  webserver and mail server (Lotus Domino) and I also want to use my =
server as=20
  an internet gateway (Masquerading) for my other pc's in my =
lan.</FONT></P>
  <P><FONT face=3DVerdana size=3D2>In my lan I've two win2000 machine =
one=20
  workstation and one laptop with ipaddresses : 192.168.0.1 and =
192.168.0.4=20
  </FONT><BR><FONT face=3DVerdana size=3D2>I've downloaded and installed =
the quick=20
  two-interfaces.tgz file and I've changed the files to my needs.</FONT> =

  <BR><FONT face=3DVerdana size=3D2>But there are still problems with =
internet=20
  access from my 2 windows2000 machines. Also I can't receive or send =
any email,=20
  outgoing mail is pending and incoming mail get bounced.</FONT></P>
  <P><FONT face=3DVerdana size=3D2>It looks like there's now internet =
connection=20
  allowed or there is something misconfigurated.</FONT> </P>
  <P><FONT face=3DVerdana size=3D2>I've attached my files, who I've =
changed.</FONT>=20
  <BR><FONT face=3DVerdana size=3D2>Could some please help me with this=20
  problem?</FONT> </P>
  <P><FONT face=3DVerdana size=3D2>Thank you so much!</FONT> </P>
  <P><FONT face=3DArial color=3D#000000 size=3D2>&lt;&lt;common&gt;&gt; =
</FONT><FONT=20
  face=3DArial color=3D#000000 size=3D2>&lt;&lt;interfaces&gt;&gt; =
</FONT><FONT=20
  face=3DArial color=3D#000000 size=3D2>&lt;&lt;masq&gt;&gt; =
</FONT><FONT face=3DArial=20
  color=3D#000000 size=3D2>&lt;&lt;params&gt;&gt; </FONT><FONT =
face=3DArial=20
  color=3D#000000 size=3D2>&lt;&lt;policy&gt;&gt; </FONT><FONT =
face=3DArial=20
  color=3D#000000 size=3D2>&lt;&lt;rules&gt;&gt; </FONT><FONT =
face=3DArial=20
  color=3D#000000 size=3D2>&lt;&lt;zones&gt;&gt; </FONT></P>
  <P><FONT face=3DVerdana size=3D2>lino.catucci@nuon.com</FONT> =
<BR><FONT=20
  face=3DVerdana size=3D2>or</FONT> <BR><FONT face=3DVerdana=20
  size=3D2>linocatucci@yahoo.com</FONT> </P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C1E9D1.5E3346E0--