[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

packet filter and alias



Hello,

To refer to an alias from ifconfig, we can do something like:

ifconfig rl0 alias 192.168.0.1 netmask 255.255.255.0

But, managing packet filtering rules (pfctl, etc.); we would like to do
something like:

rdr on rl0 alias 192.168.0.1 proto tcp from any to any port 80 -> 10.2.0.3
(this is not possible)

Althouth we do:
rdr on rl0 proto tcp from any to any port 80 -> 10.2.0.3
(this is possible, without specifying alias)

We can change the rules to do the same without using alias, but would be 
it would better to use alias :-)

Thank you very much!

-- 
Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info



Visit your host, monkey.org