Re: rdr for outgoing packets

2005-06-11 Thread Denis Doroshenko
On 6/11/05, Graham Gower <[EMAIL PROTECTED]> wrote: > > > rdr on $int_if inet proto tcp from $int_net to any port ftp -> > > > 127.0.0.1 port 8021 > > > > this works only for packets that *come to* OpenBSD box to be > > routed, not the packets that are *originated* at the OpenBSD box. > > Are you

Re: rdr for outgoing packets

2005-06-11 Thread Jason Crawford
On 6/11/05, Denis Doroshenko <[EMAIL PROTECTED]> wrote: > tell me, why sending a message that doesn't answer the > question? what is it? is it my poor english or explaining > skills or is it you, being slacker and not trying to understand > the question asked? Maybe if you had stated the question

Re: rdr for outgoing packets

2005-06-11 Thread Graham Gower
> On 6/10/05, Jason Crawford <[EMAIL PROTECTED]> wrote: > > It's very simple, try reading the ftp-proxy man page, as it has an > > example for exactly what you're doing, something like: > > rdr on $int_if inet proto tcp from $int_net to any port ftp -> > > 127.0.0.1 port 8021 > > this works only f

Re: rdr for outgoing packets

2005-06-11 Thread Denis Doroshenko
tell me, why sending a message that doesn't answer the question? what is it? is it my poor english or explaining skills or is it you, being slacker and not trying to understand the question asked? On 6/10/05, Jason Crawford <[EMAIL PROTECTED]> wrote: > It's very simple, try reading the ftp-proxy m

Re: rdr for outgoing packets

2005-06-10 Thread Jason Crawford
It's very simple, try reading the ftp-proxy man page, as it has an example for exactly what you're doing, something like: rdr on $int_if inet proto tcp from $int_net to any port ftp -> 127.0.0.1 port 8021 I believe pf.conf man page also has examples for this too. Really, read the docs, because you

rdr for outgoing packets

2005-06-10 Thread Denis Doroshenko
hello, is there possibility to catch outgoing packets on an interface? while the question seems dumb, i seem to be stuck and no man page/PF faq/web searches help me. it seems that PF rdr-s only incoming packets. is this a correct statement? is there any thoughts of extending PF functionality to co