Date: Fri, 03 May 2002 16:52:15 -0700 From: Robin Chen <robinche@vividnet.com> To: freebsd-isp@FreeBSD.ORG Subject: NAT using real IP Message-ID: <3CD322AF.45ABE70E@vividnet.com> References: <20020503030052.15249.qmail@server-7.tower-9.messagelabs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
I have a frame-relay connection and a DSL connection to the internet,
and they both give me static ip. Generally I want to use frame-relay
for all traffic because I have several ip addresses to use, but I want
to utilize the DSL for all
internal browsing traffic. Can I utilize natd for this? I've already
have Squid set up in transparent proxy mode, but I want to try getting a
straight pipe.
Currently I have a FreeBSD router as the main frame-relay gateway. I've
also installed a nat server connected to
the DSL. The nat server has 2 interfaces, fxp0 using ip address from
frame-relay and rl0 using ip address from DSL. The default route for
nat server is using DSL's.
On the main gateway, I'm using:
ipfw add fwd nat.server.machine tcp from frame.relay.ip to any 80
I've set up the nat server running natd -interface rl0 with following:
ipfw add divert natd tcp from any to any 80 via rl0
The result of the verbose output is:
Out [TCP] [TCP] frame.relay.ip:4094 -> outside.web.site:80 aliased to
[TCP] dsl.provider.ip:4094 -> outside.web.site:80
but the frame-relay client cannot pull up any websites. Does anyone
know if this is doable?
Thanks,
Robin
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?3CD322AF.45ABE70E>
