On Tue, Jul 25, 2006 at 04:52:49PM -0400, mnothic wrote:
> yea but don't work for me on OpenBSD 3.9 with 2 NIC wan and lan
> 
> I have NAT on primary IP and "rdr ... to $alias_whit_second_public_ip
> port 80 -> $prv_machine"
> but the trafict don't work and without alias the same rule work.
> 
> work
> rdr pass on $ext_if proto tcp from any to $ext_if port 80 -> $web_server 
> port 80
> 
> don't work
> rdr pass on $ext_if proto tcp from any to $alias port 80 -> $web_server 
> port 80

Remember that unlike filtering rules, nat/rdr use the first match
instead of the last. Does something above your "$alias port 80 ->" rule
also match? Perhaps something with ($ext_if)?

-- 
Darrin Chandler            |  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |

Reply via email to