Weird Problem with NAT

Washington Odhiambo odhiambo at
Fri Sep 21 10:55:54 PDT 2007

Hello people,

I have a box which I'd like to do some port forwarding to two boxes on
my internal LAN.

I have reduced my pf.conf to just the following:

# define macros for each network interface
extif = "em0"
intif = "xl0"
server = ""
exch_svr = ""

services="{ 80, 110, 443, 53 }"
exchange_svcs="{ 3000 }"

rdr pass on $extif inet proto tcp to port $services -> $server
rdr pass on $extif inet proto tcp to port $exchange_svcs -> $exch_svr port 80
rdr pass on $extif inet proto { tcp, udp } to port $services -> $server

Well, this server's external IP is, if anyone is interested.

I have been trying whole day to get "telnet 110" to
work, but it wouldn't.
>From the server, I can connect to port 110 without a problem.

I am stuck at the moment.

What am I missing?

FreeBSD 6.2-STABLE here.



More information about the freebsd-pf mailing list