Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 12:34:47 -0800
From:      "Chris S. Wilson" <cswilson@ordizmelby.com>
To:        <freebsd-questions@freebsd.org>
Subject:   NATD Internal Network problems
Message-ID:  <C8DFE22B48199443918D30E52F1AD2CC3FED63@omaserver.oma.local>

next in thread | raw e-mail | index | archive | help
Hello! :)

I am having a problem with freebsd 5.3-release and natd.

When I try to connect to a service on my internal network to an IP on my
external network that has a port redirected, it wont connect.=20

IE: 67.128.100.2 is my external IP, on my internal network I try to
connect to 67.128.101.2:80 which is forwarded in my natd.conf and the
connection is refused.

Does anyone know why?

My Config:

IPFW Startup Script:

/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via xl1
/sbin/ipfw add pass all from any to any

Natd.conf:

use_sockets yes
same_ports yes
redirect_port tcp 10.0.10.2:8- 67.128.100.2:80

Rc.conf

gateway_enable=3D"YES"
firewall_enable=3D"YES"
natd_enable=3D"YES"
natd_interface=3D"xl1"
natd_flags=3D"-m -s -f /etc/natd.conf"

Thanks!

Chris W



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