Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 14:19:05 +0300
From:      Patrick Lindholm <fin7pl@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Routing problem?
Message-ID:  <6.2.0.14.2.20050824140017.03dda200@mail.dnainternet.net>

next in thread | raw e-mail | index | archive | help
Ok, here=B4s the deal

I have my Freebsd 4.10 gateway/nat/firewall on my network.

On my LAN i have couple WIN machines and a Linux Redhat machine  working ok=
=20
to outside and other machine=B4s with IP 192.168.255.252   eth0

I have one software running on Redhat Machine that uses SLIP and i have=20
configured sl0  with 192.168.255.252 P-t-P 192.168.0.6

The 192.168.0.6 is the IP of that Software

Ok  with these configurations i can connect from my Linuxbox locally to the=
=20
software with 192.168.0.6

But the 192.168.0.6 Does=B4nt appear to be available for other computers on=
=20
my LAN

So i checked out some manuals and used command: ARP -Ds 192.168.0.6 sl0=20
pub  and 92.168.0.6 came visible to other computers on my LAN.

So now i thought that all i have to do is to put on my BSDBOX=20
natd.conf    to redirect  all requests from 23 and 81 to=20
192.168.0.6  right? and allow of course ports from Firewall  (My software=20
with the SLIP has entrance via HTTP and TELNET)

Well nobody can=B4t still connect to my Linux software from outside?    From=
=20
my LAN it=B4works ok.

I tried also  adding  allow ip from any to 192.168.0.6 via ep0   and that=20
worked for a while (now anybody from outside can connect to  my=20
software)   It works only for couple hours and the no response?   I=B4cant=
=20
understand how the allow ip from any to 192.168.0.6 can help.

Well if anyone has understood what i=B4m trying to do here and wants to send=
=20
couple hints i would be glad.  :-)

Thanks for your reply.
 =20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.0.14.2.20050824140017.03dda200>