Changeset 14135 in hybrid for branches/releng-11/nanobsd/files/etc/pf.hybrid.conf
- Timestamp:
- Apr 13, 2018, 6:11:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/etc/pf.hybrid.conf
r14071 r14135 6 6 # 7 7 # 1) It supports outgoing NAT to specified ports. The so called iLeiden setup. 8 # 2) It supports incoming NAT from the private MGMT network, for maintenance use. 8 9 # 3) It protects the private MGMT network from WL requests to it's own services. 9 10 # 4) It portects the $ext_if by only allowing an subset of services. … … 18 19 # Standard port allow listings for external services 19 20 allow_ext_in_tcp="1022" 21 22 # Standard port allow listings for services at host network (in case of NAT) 23 allow_private_in_tcp="domain" 24 allow_private_in_udp="domain" 20 25 21 26 allow_ext_out_tcp = "domain, http, https" … … 43 48 # Table used to authorized hosts (6) 44 49 table <wlportal> persist counters 50 51 # NAT MGMT to Wireless Leiden (2) 52 nat on ! $ext_if from $private to $wl_net -> $masterip 45 53 46 54 # Do NOT allow NAT to the Private Network (3) … … 86 94 pass out quick on $ext_if from $wl_net to $wl_net 87 95 96 # Expose some local services for internal (NATted) network (4) 97 pass in on $ext_if inet proto tcp from $private to $ext_if port { $allow_private_in_tcp } keep state 98 pass in on $ext_if inet proto udp from $private to $ext_if port { $allow_private_in_udp } keep state 99 pass in on $ext_if inet proto icmp from $private to $ext_if icmp-type { echoreq } 100 88 101 # Expose some local services for the external world (WWW) network (4) 89 102 pass in on $ext_if inet proto tcp from any to $ext_if port { $allow_ext_in_tcp } keep state 90 103 pass in on $ext_if inet proto icmp from any to $ext_if icmp-type { echoreq } 104 105 # Packets from the management LAN are allowed in (2) 106 pass in on $ext_if from $private to $wl_net keep state 91 107 92 108 # Packets going out are the ones to the internet with an certain limit (1)
Note:
See TracChangeset
for help on using the changeset viewer.