Changeset 13233 in hybrid


Ignore:
Timestamp:
Apr 6, 2015, 8:07:52 PM (10 years ago)
Author:
huub
Message:

NAT OK ook bij alias op external interface

File:
1 edited

Legend:

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

    r13160 r13233  
    1818
    1919# Standard port allow listings for external services
    20 allow_ext_in_tcp="ssh, openvpn"
     20allow_ext_in_tcp="1022, openvpn"
    2121allow_ext_in_udp="snmp, openvpn"
    2222
     
    3030
    3131# Default configuration for ALIX2 with vr0 as external interface and wlan0 as
    32 # the public accesspoint in iLeiden setup, no aliases on interfaces.
     32# the public accesspoint in iLeiden setup, aliases on external interface OK.
    3333ext_if="vr0"
    3434ext_ip="(vr0:0)"
     
    5858no nat from $wl_net to $private
    5959
    60 # Nat the internet for iLeiden functionality (1)
    61 nat on $inet_if inet proto tcp from $wl_net to ! $wl_net port { $publicnat } -> ($inet_if)
     60# Nat the internet for iLeiden functionality allow for alias on vr0 (1)
     61nat on $inet_if inet proto tcp from $wl_net to ! $wl_net port { $publicnat } -> ($inet_ip)
    6262
    6363
Note: See TracChangeset for help on using the changeset viewer.