[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
packet filter and alias
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: packet filter and alias
- From: Carles Pina i Estany <carles_(_at_)_pinux_(_dot_)_info>
- Date: Wed, 16 Feb 2005 21:38:21 +0100
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