From owner-freebsd-questions Mon Jan 22 6:15:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rubicon.fernonorden.com (unknown [195.139.149.229]) by hub.freebsd.org (Postfix) with ESMTP id 400F737B400 for ; Mon, 22 Jan 2001 06:15:14 -0800 (PST) Received: by RUBICON with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Jan 2001 15:10:23 +0100 Message-ID: <25879E6A7E74D411B9370050043B7F3E09F8DC@RUBICON> From: Per Tore Larsen To: 'Kathy Quinlan' , "Freebsd-Questions (E-post)" Subject: RE: Static Nat Date: Mon, 22 Jan 2001 15:10:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0847D.0FA11FD0" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0847D.0FA11FD0 Content-Type: text/plain; charset="iso-8859-1" Lets do a hypothetical setup... rdr ed0 0.0.0.0/0 port 80 -> 10.1.1.2 port 80 when i put 0.0.0.0/0 it tells ipnat to lookup the dhcp adresse automatically in everytime it starts. (Actually, this you need to try, since I've dont use dhcp on my internet line.) How is have you setup you existing ipnat.conf file? Here you should see how ipnat implements dhcp in its table. Also, you need to punch a hole through port 80 your firewall to let internet axess your webserver inside you LAN. Also for reference: www.freebsddiary.org can answer alot of your questions. Look under ipnat,ppp or ipfw. PeTe (Remember to send a copy to freebsd questions so other users may have a chance to flame me when/if I make any obvious mistakes.) -----Original Message----- From: Kathy Quinlan [mailto:katinka@magestower.com] Sent: Monday, January 22, 2001 2:58 PM To: Per Tore Larsen Subject: Re: Static Nat Ok I take it that ed0 ? what would I put for the as mine is dynamic ? Kat. ----- Original Message ----- From: Per Tore Larsen To: 'Claudio Petronio' ; Freebsd-Questions (E-post) Sent: Monday, January 22, 2001 9:40 PM Subject: RE: Static Nat This is the config I used to route all request to my webserver from the internet to my internal web server. rdr /32 port 80 -> 10.1.1.2 port 80 Observ I use ipnat, and I have omitted the rules for NAT'ing my internal net. PeTe -----Original Message----- From: Claudio Petronio [mailto:cpetronio@argentinaanalytica.com] Sent: Monday, January 22, 2001 2:35 PM To: questions@FreeBSD.org Subject: Static Nat How may I setup Static Nat on a FreeBsd firewall?, i need to make a static nat for my webserver which uses a private ip (192.168.1.1) to make it visible as a public ip webserver. Should I use proxy ARP? Thanks in advance, Claudio Petronio. ------_=_NextPart_001_01C0847D.0FA11FD0 Content-Type: text/html; charset="iso-8859-1"
Lets do a hypothetical setup...
 
rdr ed0 0.0.0.0/0 port 80 -> 10.1.1.2 port 80
 
when i put 0.0.0.0/0 it tells ipnat to lookup the dhcp adresse automatically in everytime
it starts. (Actually, this you need to try, since I've dont use dhcp on my internet line.)
 
How is have you setup you existing ipnat.conf file? Here you should see how ipnat
implements dhcp in its table.
 
Also, you need to punch a hole through port 80 your firewall to let internet axess your
webserver inside you LAN.
 
Also for reference:
www.freebsddiary.org can answer alot of your questions.  Look under ipnat,ppp or ipfw.
 
PeTe
 
(Remember to send a copy to freebsd questions so other users may have a chance to
flame me when/if I make any obvious mistakes.)
 
-----Original Message-----
From: Kathy Quinlan [mailto:katinka@magestower.com]
Sent: Monday, January 22, 2001 2:58 PM
To: Per Tore Larsen
Subject: Re: Static Nat

Ok I take it that <ext.netcard> ed0 ?
 
what would I put for the <ext.ip> as mine is dynamic ?
 
 
Kat.
----- Original Message -----
Sent: Monday, January 22, 2001 9:40 PM
Subject: RE: Static Nat

This is the config I used to route all request to my webserver from the internet to my internal
web server.
 
rdr <ext. netcard> <ext.ip>/32 port 80 -> 10.1.1.2 port 80
 
Observ I use ipnat, and I have omitted the rules for NAT'ing my internal net.
 
PeTe
-----Original Message-----
From: Claudio Petronio [mailto:cpetronio@argentinaanalytica.com]
Sent: Monday, January 22, 2001 2:35 PM
To: questions@FreeBSD.org
Subject: Static Nat

How may I setup Static Nat on a FreeBsd firewall?, i need to make a static nat for my webserver which uses a private ip (192.168.1.1) to make it visible as a public ip webserver. Should I use proxy ARP?
 
Thanks in advance,
 
Claudio Petronio.
------_=_NextPart_001_01C0847D.0FA11FD0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message