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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.