Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 15:36:40 -0500
From:      "James Taylor" <jltaylor@metrotel.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   natd redirect_address again
Message-ID:  <003c01c0f836$6774bc80$aea04b94@FRONT1>

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

------=_NextPart_000_0037_01C0F80C.78241320
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have successfully (well not totally) caused natd to be started from a =
config file and I use:

redirect_address 192.168.0.250 4.55.88.xx=20

it starts without error.

natd works - traffic goes in and out just like it should.

redirected address doesn't

I have aliased 4.55.88.xx to my gateway interface, so it is "there" =
before natd starts.
I can see 4.55.88.xx when I type "ifconfig".
I can ping 4.55.88.xx from the outside world.
I can't access anything on the private IP(192.168.0.250) side from the =
public side.
I can access 192.168.0.250 from the private network.


Generally, I am running:

4.2 FreeBSD
natd
named
sendmail
ipfw
dummynet
squid
transparent proxy

Everything works great - except the "redirect_address".
RTFM, printed it, RTFM, shutdown, reboot, RTFM, tried it without the =
config file (command line), shutdown, reboot, RTFM...
Everybody says: "...it shoudl work!..."
I must be doing something wrong.  Any ideas?

Thanks,

James Taylor
jltaylor@metrotel.net
a wireless ISP in the middle of nowhere - Texarkana, Texas





------=_NextPart_000_0037_01C0F80C.78241320
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have successfully (well not totally) =
caused natd=20
to be started from a config file and I use:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>redirect_address 192.168.0.250 =
4.55.88.xx=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>it starts without error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>natd works - traffic goes in and out =
just like it=20
should.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>redirected address doesn't</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have aliased 4.55.88.xx to my gateway =
interface,=20
so it is "there" before natd starts.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I can see 4.55.88.xx when I type=20
"ifconfig".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I can ping 4.55.88.xx from the outside=20
world.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I can't access anything on the private=20
IP(192.168.0.250) side from the public side.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I can access 192.168.0.250 from the =
private=20
network.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Generally, I am running:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>4.2 FreeBSD</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>natd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>named</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>sendmail</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ipfw</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>dummynet</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>squid</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>transparent proxy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Everything works great - except the=20
"redirect_address".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>RTFM, printed it, RTFM, shutdown, =
reboot, RTFM,=20
tried it without the config file (command line), shutdown, reboot,=20
RTFM...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Everybody says: "...it shoudl=20
work!..."</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I must be doing something wrong.&nbsp; =
Any=20
ideas?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>James Taylor</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:jltaylor@metrotel.net">jltaylor@metrotel.net</A></FONT></D=
IV>
<DIV><FONT face=3DArial size=3D2>a wireless ISP in the middle of nowhere =
-=20
Texarkana, Texas</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0037_01C0F80C.78241320--


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?003c01c0f836$6774bc80$aea04b94>