Ignore:
Timestamp:
Apr 26, 2012, 2:01:09 PM (13 years ago)
Author:
rick
Message:

Split hybrid and special proxy setup, as the proxy setup is highly custom and
somehow exotic, not useable in the hybrid setup (due to the gateway pain).

File:
1 copied

Legend:

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

    r10580 r10589  
    2929ext_if="vr0"
    3030ext_if_net="vr0:network"
    31 ext_if_default_route="192.168.42.1"
     31ext_if_gw="127.127.127.127"
    3232captive_portal_interfaces="wlan0"
    3333publicnat="http,https"
     
    6868
    6969# This quirck is needed to override the routing table default route (8)
    70 pass out on !$ext_if route-to ($ext_if $ext_if_default_route) proto tcp from any to !$wl_net port {22, 80, 443} user != unknown keep state
    71 pass out on !$ext_if route-to ($ext_if $ext_if_default_route) proto udp from any to !$wl_net port {53} user != unknown keep state
     70pass out on !$ext_if route-to ($ext_if $ext_if_gw) proto tcp from any to !$wl_net port {22, 80, 443} user != unknown keep state
     71pass out on !$ext_if route-to ($ext_if $ext_if_gw) proto udp from any to !$wl_net port {53} user != unknown keep state
    7272
    7373# By default deny all outgoing traffic to avoid systems spamming the network (9)
Note: See TracChangeset for help on using the changeset viewer.