Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to change captive portal TTL value ???

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 622 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arnav
      last edited by

      Users connected to captive portal are sharing internet via bluetooth . I want to stop that sharing . As a solution i thought to change the TTL ..But m unable to find the way out to change the TTL. Is it possible in pfsense ?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by Gertjan

        Hi,

        You want to 'reset' the TTL info in the coming-back traffic, initiated by the portal visitors, to 1, so it should be discarded by the next hop, or, the device acts as a router / shares the connection.
        All returning packets have to be somehow mangled.
        That would actually work I guess.

        But first you have to write that stateful firewall, or modify an exiting one, that actually permits you to do so.

        Look here, from 2005 : https://lists.freebsd.org/pipermail/freebsd-net/2005-April/007098.html

        edit : pfSense, the captive portal, uses ipfw. All you need is that user-land program.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.