Ignore:
Timestamp:
May 15, 2012, 11:10:13 AM (13 years ago)
Author:
rick
Message:

Part of nodefactory:ticket:177

File:
1 edited

Legend:

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

    r10861 r10862  
    2424allow_ext_out_udp = "domain, ntp, 1194"
    2525
     26
    2627# Default configuration for ALIX2 with vr0 as external interface and wlan0 as
    27 # the public accesspoint in iLeiden setup.
     28# the public accesspoint in iLeiden setup, no aliases on interfaces.
    2829ext_if="vr0"
     30ext_ip="(vr0)"
    2931captive_portal_interfaces="wlan0"
    3032publicnat="http,https"
     
    5153
    5254# Nat the internet for iLeiden functionality (1)
    53 nat on $ext_if inet proto tcp from $wl_net to any port { $publicnat } -> ($ext_if)
     55nat on $ext_if inet proto tcp from $wl_net to ! $wl_net port { $publicnat } -> $ext_ip
    5456
    5557
Note: See TracChangeset for help on using the changeset viewer.