Subject: ipnat help
To: None <netbsd-help@netbsd.org>
From: James Webster <james3838@tsi-net.com>
List: netbsd-help
Date: 05/06/2000 11:18:42
This is a multi-part message in MIME format.

------=_NextPart_000_002C_01BFB74C.D612D860
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I was trying to open up a hole on my firewall for a web server, and =
thought I had the syntax right, but its not working as expected.  Its =
been a while since I mucked with ipf, so could someone tell me what I'm =
doing wrong?

ne1 =3D interface for 10.0.x.x=20
ep0 =3D ifaliases include 207.202.145.161

I want all port 80 connections to 207.202.145.161 redirected to =
10.0.1.10

Here is the rule I added:
rdr ne1 207.202.145.161/32 port 80 -> 10.0.1.10 port 80

I've verified that I can hit 10.0.1.10 port 80 on the gateway, but from =
the internet side of the gateway I can't connect indicating my =
redirection isn't working as expected.

Thanks in advance....

------=_NextPart_000_002C_01BFB74C.D612D860
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I was trying to open up a hole on my =
firewall for a=20
web server, and thought I had the syntax right, but its not working as=20
expected.&nbsp; Its been a while since I mucked with ipf, so could =
someone tell=20
me what I'm doing wrong?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ne1 =3D interface for 10.0.x.x =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ep0 =3D ifaliases include=20
207.202.145.161</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want all port 80 connections to =
207.202.145.161=20
redirected to 10.0.1.10</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is the rule I added:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rdr ne1 207.202.145.161/32 port 80 =
-&gt; 10.0.1.10=20
port 80</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've verified that I can hit 10.0.1.10 =
port 80 on=20
the gateway, but from the internet side of the gateway I can't connect=20
indicating my redirection isn't working as expected.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in =
advance....</FONT></DIV></BODY></HTML>

------=_NextPart_000_002C_01BFB74C.D612D860--