natd redirect help

Efren Bravo efrenba at dhl.co.cu
Thu Oct 20 11:18:03 PDT 2005


Hi,

I've a freebsd5.4 with ipfw and natd. I need that external users can enter
to my internal network services (http, ftp, etc). 

freebsd box:
out interface: 200.x.x.x
in interface: 10.x.x.x

/etc/rc.conf file:
------------------
gateway_enable="YES"

firewall_enable="YES"
firewall_script="/etc/ipfw.rules"
firewall_logging="YES"

natd_enable="YES"
natd_interface="vr0"
natd_flags="-f /etc/natd.conf"

/etc/natd.conf file:
--------------------
redirect_port tcp 10.x.x.x:8080 80 #redirec to internal web server


The question is if I've to open the port 80 on freeBSD's vr0 because I not
able to enter to those services.

Thanks...





More information about the freebsd-questions mailing list