
February 11th, 2004, 12:41 PM
|
|
Junior Member
|
|
Join Date: Jan 2004
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
problems port forwarding with natd
Alright,
I am trying to forward http requests to the outside interface on my freebsd firewall to an internal host. I have natd redirect (supposedly anyways) like this:
natd -n tun0 -redirect_port tcp 192.168.10.53:80 80
i allow access through ipfw like this:
${fwcmd} add allow log tcp from any to ${ext_net} http keep-state
${fwcmd} add fwd 192.168.10.53,80 log tcp from any to ${ext_net} http in
${fwcmd} add allow log logamount 500 tcp from any to 192.168.10.53 80
and i can see http requests being accepted in the logs, but they aren't being forwarded onto the machine like they should. natd is working fine otherwise. am i doing something wrong?
thanks
|