[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Another NAT config issue
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Another NAT config issue
- From: Justin Krejci <krejci_(_at_)_attbi_(_dot_)_com>
- Date: Wed, 4 Dec 2002 23:29:27 -0600
- Reply-to: krejci_(_at_)_attbi_(_dot_)_com
Yep, you read it right, this is another NAT issue. Maybe I just couldn't find
it but I did RTFA.
I have your typical home broadband network setup. OpenBSD 3.2 gateway/NAT. I
have another OpenBSD box as a webserver behind the NAT plus several clients.
My situation is I can connect to the webserver using local IP from a local
client. I can connect to the webserver remotely using my external IP address.
I can not connect to my webserver from a local client using the remote
address. I believe it is just a pf syntax goof but I can't figure it out.
nat on $ExtIf from 188.8.131.52/24 to any -> $ExtIf
rdr on $IntIf proto tcp from any to $ExtIf port 80 -> 184.108.40.206 port 80
rdr on $ExtIf proto tcp from any to any port 80 -> 220.127.116.11 port 80
18.104.22.168 is the local address of the webserver.
The first rdr rule is the one I believe to be in error.
Any ideas or other required info?
Visit your host, monkey.org