2009/6/1 Ali Faiez Taha <[email protected]>: > 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 >
Maybe you have to see this page: http://www.openbsd.org/faq/pf/rdr.html -- "Linux is for people who hate Windows, BSD is for people who love UNIX". "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." Sent from Veracruz, Ver, Mexico _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[email protected]"
