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

    CP ipfw fwd all non-authenticated clients' TCP connections to 127.0.0.1,8000?

    Scheduled Pinned Locked Moved Captive Portal
    1 Posts 1 Posters 1.4k 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.
    • D
      dhatz
      last edited by

      I noticed that in 2.0REL captiveportal.inc adds an ipfw rule to forward all un-authenticated clients' TCP connections to lighttpd listening on 127.0.0.1,8000

      line #571 (in git it's currently line #613)
      add 65531 set 1 fwd 127.0.0.1,8000 tcp from any to any in

      Perhaps there would be a benefit to only forward tcp connections that are destined to port 80? e.g.
      add 65531 set 1 fwd 127.0.0.1,8000 tcp from any to any 80 in

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