Connect to port 5432
Ali Faiez Taha
aftaha at cirp.usp.br
Mon Jun 1 21:11:20 UTC 2009
Dear Sirs.
What I need to redirect connections from any Internet valid IP and port 5432 to one intranet server running (PostgreSQL Database) on
5432 port ?
I am using FreeBSD 7.2 with PF firewall.
The rule on Linux iptables now is:
iptables -t nat -A PREROUTING -p tcp -s 0/0 -d AAA.BBB.CCC.DDD --dport 5432 -j DNAT --to-destination 192.168.2.253:5432
thanks a lot
More information about the freebsd-pf
mailing list