Changeset 13160 in hybrid for branches/releng-10/nanobsd/files
- Timestamp:
- Feb 11, 2015, 12:21:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/files/etc/pf.hybrid.conf
r11543 r13160 17 17 # 18 18 19 # Standard port allow listings 20 allow_ext_in_tcp="ssh, domain, openvpn" 21 allow_ext_in_udp="domain, snmp, openvpn" 19 # Standard port allow listings for external services 20 allow_ext_in_tcp="ssh, openvpn" 21 allow_ext_in_udp="snmp, openvpn" 22 23 # Standard port allow listings for services at host network (in case of NAT) 24 allow_private_in_tcp="domain" 25 allow_private_in_udp="domain" 22 26 23 27 allow_ext_out_tcp = "domain, http, https, openvpn" … … 91 95 pass out quick on $ext_if from $wl_net to $wl_net 92 96 93 # Expose some local services (4) 97 # Expose some local services for internal (NATted) network (4) 98 pass in on $ext_if inet proto tcp from $private to $ext_if port { $allow_private_in_tcp } keep state 99 pass in on $ext_if inet proto udp from $private to $ext_if port { $allow_private_in_udp } keep state 100 pass in on $ext_if inet proto icmp from $private to $ext_if icmp-type { echoreq } 101 102 # Expose some local services for the external world (WWW) network (4) 94 103 pass in on $ext_if inet proto tcp from any to $ext_if port { $allow_ext_in_tcp } keep state 95 104 pass in on $ext_if inet proto udp from any to $ext_if port { $allow_ext_in_udp } keep state
Note:
See TracChangeset
for help on using the changeset viewer.