Hi,
I am using PF for NAT. There is a https server in the internal network, IP 172.16.0.250, I need port forward to make any internet user to access it.
With pf rule,
It only works for an internet user outside NAT, not an internal user. The internal users inside NAT access external IP:443 failed, because DNS is set to external IP.
Googled for a long time, it seems a pf NAT redirection problem, but I can't find out any solution infreebsd FreeBSD. Any idea?
OS: FreeBSD 9.0-RELEASE
I am using PF for NAT. There is a https server in the internal network, IP 172.16.0.250, I need port forward to make any internet user to access it.
With pf rule,
Code:
rdr on $ext_if inet proto tcp from any to ($ext_if) port 443 -> 172.16.0.250
Googled for a long time, it seems a pf NAT redirection problem, but I can't find out any solution in
OS: FreeBSD 9.0-RELEASE
Code:
## pf.conf
ext_if="bce0"
int_if="bce3"
office="172.16/12"
no nat on $ext_if proto gre from any to any
nat on $ext_if inet from $office to any -> $ext_if
rdr on $ext_if inet proto tcp from any to ($ext_if) port 443 -> 172.16.0.250
pass all