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

Allow webGUI access only from LAN interface

Scheduled Pinned Locked Moved webGUI
3 Posts 2 Posters 2.8k 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 Oct 20, 2011, 3:15 AM

    I came across this article about pfsense's CP, where the author was looking for a way to block his CP users from accessing the webGUI and near the end adds "Update 6/7/2011- This above did not work the way I needed it - By blocking 443 on the guest wireless subnet it will also block any use of HTTPS out the firewall. So I am still searching".

    Disallowing access to webGUI from certain interfaces sounds like a useful feature for e.g. public hotspots.

    How about making the IP(s) to which lighttpd binds a configurable option, by adding server.bind ="lanip" to lighty-webConfigurator.conf ?

    1 Reply Last reply Reply Quote 0
    • P
      podilarius
      last edited by Oct 20, 2011, 11:12 AM

      The user did not specify his rule correctly or it would have. It needs to be like this.

      Block … proto: tcp ::: source: WLAN Net port: any ::: destination: WLAN Address port: 443
      Block ... proto: tcp ::: source: WLAN Net port: any ::: destination: WLAN Address port: 80

      These rules need to be above the allow all rule. You can do the same on the LAN interface, but you will need to go and check the option to disable the antilock out rule. Please make sure that you have a rule that will allow access to your IP address or you will not be able to manage the firewall. this allow rule will need to be above the block rules.

      1 Reply Last reply Reply Quote 0
      • D
        dhatz
        last edited by Oct 20, 2011, 4:01 PM

        You are correct of course, that would be the best way to do it.
        (in my defense, I wrote the first post at 3:00am local time  ;D )

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received