Re: pf change destination port for outgoing traffic

2015-11-25 Thread Lampshade
match out on bge0 inet proto tcp to any port 80 user "_relayd" tag przekierujNaPort443 pass out quick log (all, to pflog0) inet proto tcp tagged przekierujNaPort443 rdr-to 0.0.0.0/0 port 443 bitmask Indeed it works. Thank you very much.

Re: pf change destination port for outgoing traffic

2015-11-24 Thread Stuart Henderson
On 2015-11-24, Lampshade wrote: > Does anything changed during these years? > I would like to do the same thing the author of topic wanted. I don't remember the exact syntax but IIRC this can be done with a rule involving "rdr-to", "bitmask", and "0.0.0.0/0".

Re: pf change destination port for outgoing traffic

2015-11-24 Thread Lampshade
Does anything changed during these years? I would like to do the same thing the author of topic wanted. I want it because I am playing with relayd, privoxy and pf. I have done chain Firefox -> relayd1-> privoxy -> relayd2, but relayd2 seems to try estabilish tls connection to 80 port rather than 44

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Mark Rolen
Karel Galuska wrote: p1 and p2 are always the same. 58453 always to 80 K. ... It is not easy to explain. On PCs are special custom based aplications which changes destination port of outcoming traffic and I need put it back to port 80. As a casual reader of this thread, I'm wondering if so

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
p1 and p2 are always the same. 58453 always to 80 K. - Original Message - From: "scott" <[EMAIL PROTECTED]> To: "Karel Galuska" <[EMAIL PROTECTED]> Sent: Wednesday, April 09, 2008 2:46 PM Subject: Re: pf change destination port for outgoing traffi

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
Message - From: "scott" <[EMAIL PROTECTED]> To: "Karel Galuska" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, April 09, 2008 12:01 PM Subject: Re: pf change destination port for outgoing traffic As far as I know, pf = no; an http (or ip) proxy = yes. Bu

Re: pf change destination port for outgoing traffic

2008-04-09 Thread scott
gt; Cc: misc@openbsd.org Subject: Re: pf change destination port for outgoing traffic Date: Wed, 9 Apr 2008 11:46:34 +0200 Mailer: Microsoft Outlook Express 6.00.2900.3138 Delivered-To: [EMAIL PROTECTED] any public server on the Internet - Original Message - From: "scott" <[EMA

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
any public server on the Internet - Original Message - From: "scott" <[EMAIL PROTECTED]> To: "Karel Galuska" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, April 09, 2008 11:24 AM Subject: Re: pf change destination port for outgoing traffic When you s

Re: pf change destination port for outgoing traffic

2008-04-09 Thread scott
nbsd.org Subject: pf change destination port for outgoing traffic Date: Wed, 9 Apr 2008 08:23:50 +0200 Mailer: Microsoft Outlook Express 6.00.2900.3138 Delivered-To: [EMAIL PROTECTED] Hi all, I use OpenBSD as a firewall with nat function for local network. For special reason now I need change some d

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Karel Galuska
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: Sent: Wednesday, April 09, 2008 10:12 AM Subject: Re: pf change destination po

Re: pf change destination port for outgoing traffic

2008-04-09 Thread Lars Noodén
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

pf change destination port for outgoing traffic

2008-04-08 Thread Karel Galuska
Hi all, I use OpenBSD as a firewall with nat function for local network. For special reason now I need change some destination ports for outgoing traffic to every internet server. For example when internal PC a.a.a.a wants to connect internet server b.b.b.b on port p1 I need transparently redirect