Re: pf.conf : rdr-to IF rather than IP

2010-09-12 Thread Jean-Francois
Hello, Well I am not sure dup-to is really suitable, I would like to redirect ports to multiple ip as following example : match in on $ext_if proto tcp from any to any port 1050 rdr-to 192.168.1.10:50 Regards Le dimanche 29 ao{t 2010 15:15:28, Bret S. Lambert a icrit : On Sun, Aug 29, 2010 at

Re: pf.conf : rdr-to IF rather than IP

2010-09-12 Thread Bret S. Lambert
Have you even tested a dup-to configuration? Or are you just trying to run the code in your head? On Sun, Sep 12, 2010 at 04:29:14PM +0200, Jean-Francois wrote: Hello, Well I am not sure dup-to is really suitable, I would like to redirect ports to multiple ip as following example : match

Re: pf.conf : rdr-to IF rather than IP

2010-08-29 Thread Stuart Henderson
If you can explain what you're actually trying to do, rather than talk about how you're thinking of accomplishing it, maybe someone can suggest a way. On 2010-08-28, Jean-Francois jfsimon1...@gmail.com wrote: Good evening, Is it possible to redirect to an IF or at least an IP range such as

Re: pf.conf : rdr-to IF rather than IP

2010-08-29 Thread Jean-Francois
Hello, I would like to redirect particular ports on the sub-network, not only on one ip adress of the subnetwork. Taking an example, I would like some software that listen to ports on different machines with different ip adress without having to change the pf.conf rules each time it is

Re: pf.conf : rdr-to IF rather than IP

2010-08-29 Thread Bret S. Lambert
On Sun, Aug 29, 2010 at 02:05:40PM +0200, Jean-Francois wrote: Hello, I would like to redirect particular ports on the sub-network, not only on one ip adress of the subnetwork. Taking an example, I would like some software that listen to ports on different machines with different ip

Re: pf.conf : rdr-to IF rather than IP

2010-08-29 Thread Peter N. M. Hansteen
Jean-Francois jfsimon1...@gmail.com writes: I would like to redirect particular ports on the sub-network, not only on one ip adress of the subnetwork. 'on the sub-network' is a little too fuzzy, but if you can populate a table with your probable target addresses something like

pf.conf : rdr-to IF rather than IP

2010-08-28 Thread Jean-Francois
Good evening, Is it possible to redirect to an IF or at least an IP range such as following rules ? match in on $ext_if proto tcp from any to any port 1024:32768 \ rdr-to $int_if match in on $ext_if proto tcp from any to any port 1024:32768 \ rdr-to 192.168.100.0/16

Re: pf.conf : rdr-to IF rather than IP

2010-08-28 Thread Bret S. Lambert
On Sat, Aug 28, 2010 at 11:08:10PM +0200, Jean-Francois wrote: Good evening, Is it possible to redirect to an IF or at least an IP range such as following rules ? match in on $ext_if proto tcp from any to any port 1024:32768 \ rdr-to $int_if Since all of the manpages use IP