Subject: Configuring IPNat
To: None <netbsd-help@netbsd.org>
From: James Webster <james3838@tsi-net.com>
List: netbsd-help
Date: 07/26/1999 23:34:59
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01BED7BF.79BFF060
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to map the following ports from my internal machine 10.0.0.1 =
to the internet through my IPNat gateway 10.0.0.5 (ne1 is local and ep0 =
is internet).

Allow outbound TCP connection on port 47624.=20
Allow inbound and outbound connections on TCP and UDP ports 2300-2400.=20
Allow inbound and outbound connections on TCP and UDP ports 28800 - =
28912=20

This is what I have in my ipnat.conf:
map ep0 10.0.0.1/0 port 47624 -> 0.0.0.0/32 port 47624
map ne1 0.0.0.0/32 tcp/udp port 2300:2400 -> 10.0.0.1/0 tcp/udp port =
2300:2400
map ep0 10.0.0.1/0 tcp/udp port 2300:2400 -> 0.0.0.0/32 tcp/udp port =
2300:2400
map ne1 0.0.0.0/32 tcp/udp port 28800:28912 -> 10.0.0.1/0 tcp/udp port =
28800:28912
map ep0 10.0.0.1/0 tcp/udp port 28800:28912 -> 0.0.0.0/32 tcp/udp port =
28800:28912

This doesn't seem to be working properly, and the man page seems not to =
have enough information....

Thanks,
James



------=_NextPart_000_0009_01BED7BF.79BFF060
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.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I'm trying to map the following ports from my =
internal machine=20
10.0.0.1 to the internet through my IPNat gateway 10.0.0.5 (ne1 is local =
and ep0=20
is internet).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Allow outbound TCP connection on port 47624. =
<BR>Allow inbound=20
and outbound connections on TCP and UDP ports 2300-2400. <BR>Allow =
inbound and=20
outbound connections on TCP and UDP ports 28800 - 28912 </FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>This is what I have in my ipnat.conf:</FONT></DIV>
<DIV><FONT size=3D2>map ep0 10.0.0.1/0 port 47624 -&gt; 0.0.0.0/32 port=20
47624<BR>map ne1 0.0.0.0/32 tcp/udp port 2300:2400 -&gt; 10.0.0.1/0 =
tcp/udp port=20
2300:2400<BR>map ep0 10.0.0.1/0 tcp/udp port 2300:2400 -&gt; 0.0.0.0/32 =
tcp/udp=20
port 2300:2400<BR>map ne1 0.0.0.0/32 tcp/udp port 28800:28912 -&gt; =
10.0.0.1/0=20
tcp/udp port 28800:28912<BR>map ep0 10.0.0.1/0 tcp/udp port 28800:28912 =
-&gt;=20
0.0.0.0/32 tcp/udp port 28800:28912</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>This doesn't seem to be working properly, and the =
man page=20
seems not to have enough information....</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>James<BR><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0009_01BED7BF.79BFF060--