NetBSD-Users archive

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

Re: NPF NAT Hairpinning



Christos Zoulas <christos <at> astron.com> writes:

> 
> ext_if= your external interface
> internalwww= the ip address of the internal web server
> 
> map $ext_if dynamic $internalwww port 80 <- inet4($ext_if) port 80
> 
> 

I had this in my setup already, actually. I played around with testing 
inet4($ext_if) vs. just $ext_if, both without success. My npf.conf is based 
off of the soho example in /usr/share/examples/npf/, so I don't think I'm 
doing anything bizarre that would alter the nat behaviour.

-ryan



Home | Main Index | Thread Index | Old Index