Ignore:
Timestamp:
Jan 23, 2017, 5:26:28 PM (8 years ago)
Author:
rick
Message:

Fixing HTTPS allowance without accepting the terms.

From a node PoV the traffic from the client to the internet is flowing
inbound on the captive portal interfaces.

Location:
branches/releng-11/nanobsd/files/etc
Files:
2 edited

Legend:

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

    r13724 r13772  
    7171
    7272# By default deny all outgoing traffic to avoid systems spamming the network (9)
    73 block out on { $captive_portal_interfaces } from any to !$wl_net
     73block in on { $captive_portal_interfaces } from any to !$wl_net
     74
     75# Quickly drop out, with nice return value, avoiding endless connections on portal setup (6)
     76block return in quick on { $captive_portal_interfaces } proto tcp from !<wlportal> to !$wl_net port { $publicnat }
    7477
    7578# Note: not even HTTPS traffic allowed for those who has not clicked OK yet (6)
    76 pass out on { $captive_portal_interfaces } proto tcp from <wlportal> to !$wl_net port { $publicnat } keep state
     79pass in on { $captive_portal_interfaces } proto tcp from <wlportal> to !$wl_net port { $publicnat } keep state
    7780
    7881# External interface is permissive (4)
  • branches/releng-11/nanobsd/files/etc/pf.node.conf

    r10745 r13772  
    3939
    4040# By default deny all outgoing traffic to avoid systems spamming the network (9)
    41 block out on { $captive_portal_interfaces } from any to !$wl_net
     41block in on { $captive_portal_interfaces } from any to !$wl_net
     42
     43# Quickly drop out, with nice return value, avoiding endless connections on portal setup (6)
     44block return in quick on { $captive_portal_interfaces } proto tcp from !<wlportal> to !$wl_net port { $publicnat }
    4245
    4346# Note: not even HTTPS traffic allowed for those who has not clicked OK yet (6)
    44 pass out on { $captive_portal_interfaces } proto tcp from <wlportal> to !$wl_net port { $ileiden_ports } keep state
     47pass in on { $captive_portal_interfaces } proto tcp from <wlportal> to !$wl_net port { $ileiden_ports } keep state
Note: See TracChangeset for help on using the changeset viewer.