Thanks, but the example in FAQ shows how to redirect traffic to one specific
server known in time of construction of pf rules. But this is not what I am
solving.
I need in outgoing traffic keep destination server IP and change destination
port only. Destionation IP chooses user of local PC and in the time of the
construction of pf rules is unknown.
Karel
----- Original Message -----
From: "Lars NoodC)n" <[EMAIL PROTECTED]>
To: "Karel Galuska" <[EMAIL PROTECTED]>
Cc: <misc@openbsd.org>
Sent: Wednesday, April 09, 2008 10:12 AM
Subject: Re: pf change destination port for outgoing traffic
Karel Galuska wrote:
I use OpenBSD as a firewall with nat function for local network.
... change some destination ports for outgoing
traffic to every internet server.
Try looking at rdr and see if that will do what you want.
http://www.openbsd.org/faq/pf/rdr.html
http://www.openbsd.org/faq/pf/rdr.html#rdrnat
Regards,
-Lars