Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 16:17:21 -0500
From:      Espartano <espartano.mail@gmail.com>
To:        aftaha@cirp.usp.br
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Connect to port 5432
Message-ID:  <d353bd50906011417u3808e94ak8a480fe5564f1b81@mail.gmail.com>
In-Reply-To: <4A2415EF.1070206@cirp.usp.br>
References:  <4A2415EF.1070206@cirp.usp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/1 Ali Faiez Taha <aftaha@cirp.usp.br>:
> =A0 =A0 =A0 =A0Dear Sirs.
>
> What I need to redirect connections from any Internet valid IP and port 5=
432 to one intranet server running (PostgreSQL Database) on
> 5432 port ?
> I am using =A0FreeBSD 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 54=
32 -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


--=20
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d353bd50906011417u3808e94ak8a480fe5564f1b81>