From owner-freebsd-questions Mon Jan 29 5:26:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swebase.com (mail.swebase.com [212.75.75.45]) by hub.freebsd.org (Postfix) with ESMTP id B654937B698 for ; Mon, 29 Jan 2001 05:26:15 -0800 (PST) Received: from swebasekasper [212.75.92.66] by swebase.com (SMTPD32-6.05) id AFF35B40144; Mon, 29 Jan 2001 14:28:19 +0100 Message-ID: <003801c089f7$0a6236b0$425c4bd4@swebasekasper> From: "Kasper (swebase)" To: Subject: NAT problems. Date: Mon, 29 Jan 2001 14:26:08 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01C089FF.6C007910" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
I have some problems with nat and=20 redirecting.
 
My external ip is, 212.75.75.30 = and my=20 internal is 192.168.10.145
 
Anyone who can help me clear out how = the following=20 rules should be set?
 
 
 
# Apply = to outbound=20 packets
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst =3D (host recv=20 port)
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst > 1023
deny = 0.0.0.0=20 0.0.0.0 # Deny everything not expressly permitted

# Apply to = incoming=20 packets
# The “est” flag means apply this rule only to = established=20 connections!
permit 0.0.0.0 0.0.0.0 tcp src =3D (host recv port) dst = > 1023=20 est
permit 0.0.0.0 0.0.0.0 tcp src > 1023 dst > 1023 = est
deny=20 0.0.0.0 0.0.0.0 # Deny everything not expressly permitted=20
 
 
 
Med v=E4nlig h=E4lsning
Kasper=20 Kristiansson
042-162000, Fax 042-162009
Mobil = 070-6203375
 
------=_NextPart_000_0035_01C089FF.6C007910-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message