Ignore:
Timestamp:
Apr 17, 2012, 8:29:38 AM (13 years ago)
Author:
rick
Message:

NAT of wleiden IP on WL interfaces to WL masterip is causing issues for sure.
Downside, double macro expantion does not work. so we are stuck with an extra
variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/etc/pf.hybrid.conf

    r10520 r10523  
    1414allow_ext_tcp="{ssh, domain}"
    1515allow_ext_udp="{domain, snmp}"
    16 private="{ 10.0.0.0/8 , 172.16.0.0/12, 192.168.0.0/16 }"
     16private="{ 10.0.0.0/8, 172.16.0.0/12 192.168.0.0/16 }"
    1717
    1818
     
    2020# the public accesspoint in iLeiden setup.
    2121ext_if="vr0"
     22ext_if_net="vr0:network"
    2223captive_portal_interfaces="wlan0"
    2324publicnat="http,https"
     
    3334
    3435# NAT MGMT to Wireless Leiden (2)
    35 nat on ! $ext_if from $private to $wl_net -> $masterip
     36nat on ! $ext_if from $ext_if_net to $wl_net -> $masterip
    3637
    3738# Nat the internet but NOT to Private Network (1)
Note: See TracChangeset for help on using the changeset viewer.