Changeset 13694 in hybrid


Ignore:
Timestamp:
Jan 13, 2017, 10:58:09 PM (8 years ago)
Author:
rick
Message:

Remove options to configure NAT IP.

The parentheses (which means the ruleset needs to be reloaded in case of
DHCP change for example) are not allowed to be passed as variable. Since
we are use the First IP as NAT IP (even on shared external/interlink
configuration, make it the defacto standard.

File:
1 edited

Legend:

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

    r13233 r13694  
    3232# the public accesspoint in iLeiden setup, aliases on external interface OK.
    3333ext_if="vr0"
    34 ext_ip="(vr0:0)"
    3534inet_if="vr0"
    36 inet_ip="(vr0:0)"
    3735captive_portal_interfaces="wlan0"
    3836publicnat="http,https"
     
    5957
    6058# Nat the internet for iLeiden functionality allow for alias on vr0 (1)
    61 nat on $inet_if inet proto tcp from $wl_net to ! $wl_net port { $publicnat } -> ($inet_ip)
     59nat on $inet_if inet proto tcp from $wl_net to ! $wl_net port { $publicnat } -> ($inet_if:0)
    6260
    6361
Note: See TracChangeset for help on using the changeset viewer.