Date: Sun, 1 Sep 2002 17:15:01 +0200 (CEST) From: "Marcin Jessa" <yazzy@yazzy.org> To: <blake@pyramus.com> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: IPFW Help Message-ID: <1125.80.232.16.66.1030893301.squirrel@www.yazzy.org> In-Reply-To: <3D6DECEA.1060608@pyramus.com> References: <3D6DECEA.1060608@pyramus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi.
I just use following rules in my ipfw script
# Divert all packets through natd
$fwcmd $flags add divert natd all from any to any via $oif
$fwcmd $flags add divert natd all from any to any via $iif
Where oif is my outside,internet interface and iif is the inside interface
connected to my LAN.I could add a zone file for this domain but i already host it with the
"real IP's" and then this is the only sollution i can think of.Good luck.
YazzY
Blake Swensen said:
> I cannot get local traffic to contact sites.
>
> Consider that www.1235.com is a virtual domain and is natd-ed to a
> server inside the firewall. There is no occurance of 12345.com on our
> internal dns for private ip resolution, so when local machines try to
> access the natd-ed address, their connection is refused.
>
> any help?
>
> Peace,
> Blake
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
--
Marcin M. Jessa
Software developer/System Administrator
Wireless Reading Systems ASA
Skreddervn 9
N-1537 Moss
Norway
http://www.wrs.no
Phone: +47 69 27 96 88
Cellular: +47 988 505 44
-----------
My opinions may have changed, but not the fact that I am right.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1125.80.232.16.66.1030893301.squirrel>
