freebsd at citizensbankng.com
Tue Apr 8 08:24:10 PDT 2003
I use a FreeBSD box (version 4.7) as my Internet Proxy machine. I presently use the natd daemon to redirect all HTTP
traffic to our web server and POP/SMTP to our mail server. This works well. A portion of my rc.conf file is:
natd_program="/sbin/natd" # path to natd, if you want a different one.
natd_enable="YES" # Enable natd (if firewall_enable == YES).
natd_interface="tl0" # Public interface or IPaddress to use.
natd_flags=" -redirect_port tcp 188.8.131.52:80 184.108.40.206:80 -redirect_port tcp 220.127.116.11:25 25 -redirect_port
tcp 18.104.22.168:110 110 -redirect_port tc
p 22.214.171.124:80 80 "
In addition to what I have above, I want to redirect all HTTP traffic from a particular external server (a public IP) to port
8080 of a local machine for our mobile banking software. So I modified my rc.conf as follows:
natd_flags=" -redirect_port tcp 126.96.36.199:8080 188.8.131.52:80 -redirect_port tcp 184.108.40.206:25 25
-redirect_port tcp 220.127.116.11:110 110 -redirect_port tcp 18.104.22.168:80 80 " #
I have confirmed that can locally browse to the HTTP based software running on the local machine in question
I will appreciate any help.
More information about the freebsd-questions