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

How to disable captive portal

Captive Portal
3
4
3.7k
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 Aug 13, 2007, 11:27 AM

    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 Aug 13, 2007, 1:42 PM

      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 Aug 13, 2007, 2:17 PM

        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 Aug 14, 2007, 6:30 PM

          problem solved, thanks  :D

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