Changeset 10704 in hybrid for branches/releng-9.0


Ignore:
Timestamp:
May 7, 2012, 2:45:33 PM (13 years ago)
Author:
rick
Message:

Let the redirected be controlled by gformat (yaml).

Related-To: nodefactory#152

Location:
branches/releng-9.0/nanobsd/files
Files:
1 added
2 edited

Legend:

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

    r10694 r10704  
    5959rdr on { $captive_portal_interfaces } proto tcp from $wl_net to !$wl_net port http -> 172.31.255.1 port 8081
    6060
    61 # Redirect some internal facing services outside (7)
    62 rdr on $ext_if inet proto tcp from any to $ext_if port 8081 tag SRV -> 172.16.4.46 port http
     61# Load autogenerated entries, like the remote mappings (7)
     62include "/etc/pf.hybrid.conf.local"
    6363
    6464# Make the device on WL find the proper gateway back (7)
  • branches/releng-9.0/nanobsd/files/tools/wl-config

    r10628 r10704  
    3232# Determine it's statup and running location and some other hints
    3333# Skip named.conf as it not planned in current release
    34 FILES="authorized_keys dhcpd.conf dnsmasq.conf motd rc.conf.local resolv.conf wleiden.yaml"
     34FILES="authorized_keys dhcpd.conf dnsmasq.conf motd rc.conf.local resolv.conf pf.hybrid.conf.local wleiden.yaml"
    3535file_details() {
    3636  POST_CMD=""
     
    7070     STARTUP_LOC="/cfg/${FILE}"
    7171     RUNNING_LOC="/etc/${FILE}"
     72   ;;
     73   'pf.hybrid.conf.local')
     74     STARTUP_LOC="/cfg/${FILE}"
     75     RUNNING_LOC="/etc/${FILE}"
     76     POST_CMD="service pf reload"
    7277   ;;
    7378   'wleiden.yaml')
Note: See TracChangeset for help on using the changeset viewer.