Re: NAT with public interface with more than one address
[email protected] (Michael van Elst)
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Organization | Serpens User Group |
| Message-ID | <[email protected]> |
[email protected] (John Klos) writes: >$ext_if = re0 >$ext_ip = { inet4($ext_if) } >$localnet_lan = { 192.168.50.0/24 } >map $ext_if dynamic $localnet_lan -> $ext_if Seems to be a typo, probably: map $ext_if dynamic $localnet_lan -> $ext_ip >/etc/npf.conf:25:27: wrong variable 'ext_ip' type 'family-address-mask' for interface near '$ext_ip' Is that also a typo like map $ext_ip dynamic $localnet_lan -> $ext_if ? That would explain why an address cannot be a substitute for an interface.