Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 14:26:08 +0100
From:      "Kasper (swebase)" <kasper@swebase.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   NAT problems.
Message-ID:  <003801c089f7$0a6236b0$425c4bd4@swebasekasper>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0035_01C089FF.6C007910
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have some problems with nat and redirecting.

My external ip is, 212.75.75.30 and my internal is 192.168.10.145

Anyone who can help me clear out how the following rules should be set?



# Apply to outbound packets
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst =3D (host recv port)
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst > 1023
deny 0.0.0.0 0.0.0.0 # Deny everything not expressly permitted

# Apply to incoming packets
# The "est" flag means apply this rule only to established connections!
permit 0.0.0.0 0.0.0.0 tcp src =3D (host recv port) dst > 1023 est
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst > 1023 est
deny 0.0.0.0 0.0.0.0 # Deny everything not expressly permitted=20



Med v=E4nlig h=E4lsning
Kasper Kristiansson
042-162000, Fax 042-162009
Mobil 070-6203375


------=_NextPart_000_0035_01C089FF.6C007910
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 have some problems with nat and=20
redirecting.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My external&nbsp;ip is, 212.75.75.30 =
and my=20
internal is 192.168.10.145</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyone who can help me clear out how =
the following=20
rules should be set?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#222222=20
face=3DArial,Helvetica,Geneva,Swiss,SunSans-Regular size=3D2><TT># Apply =
to outbound=20
packets<BR>permit 0.0.0.0 0.0.0.0 tcp src &gt; 1023 dst =3D (host recv=20
port)<BR>permit 0.0.0.0 0.0.0.0 tcp src &gt; 1023 dst &gt; 1023<BR>deny =
0.0.0.0=20
0.0.0.0 # Deny everything not expressly permitted<BR><BR># Apply to =
incoming=20
packets<BR># The &#8220;est&#8221; flag means apply this rule only to =
established=20
connections!<BR>permit 0.0.0.0 0.0.0.0 tcp src =3D (host recv port) dst =
&gt; 1023=20
est<BR>permit 0.0.0.0 0.0.0.0 tcp src &gt; 1023 dst &gt; 1023 =
est<BR>deny=20
0.0.0.0 0.0.0.0 # Deny everything not expressly permitted=20
</TT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Med v=E4nlig h=E4lsning<BR>Kasper=20
Kristiansson<BR>042-162000, Fax 042-162009<BR>Mobil =
070-6203375</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0035_01C089FF.6C007910--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003801c089f7$0a6236b0$425c4bd4>