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

    How to disable captive portal

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 3.7k 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.
    • X
      XToni
      last edited by

      How to disable captive portal with putty.  ;D because I've made a mistake and now I'm unable to acces de GUI.

      1 Reply Last reply Reply Quote 0
      • M
        morbus
        last edited by

        oops ;D
        looking at the code the following should punch a hole for your MAC while you fix it

        /sbin/ipfw add 50 skipto 29900 ip from any to any MAC your_mac any keep-state
        /sbin/ipfw add 50 skipto 29900 ip from any to any MAC any your_mac keep-state

        Replace your_mac with the MAC address of your machine.
        I haven't tested this but this is the code executed for a pass through MAC

        1 Reply Last reply Reply Quote 0
        • W
          wagonza
          last edited by

          Or just do 'kldunload ipfw' (from the cmd line) to unload the IPFW kernel module.

          Follow me on twitter http://twitter.com/wagonza
          http://www.thepackethub.co.za

          1 Reply Last reply Reply Quote 0
          • X
            XToni
            last edited by

            problem solved, thanks  :D

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