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

    Can't access Web UI from different subnet

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 2.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.
    • A
      Atreides
      last edited by

      I'd like to be able to use the web interface by going to the hostname of my pfSense router but am unable to.

      I am in subnet 172.20.20.1/24. If I go to 172.20.20.1 I can access the web interface. However if I go to the hostname of my router 'pfsense.my.domain', I am unable to access it. 'pfsense.my.domain' is going to another subnet with interface OPT1 '172.20.10.1'

      I used to be able to access the interface from my subject but since I removed an interface 'LAN' and replaced it with the interface 'OPT1' I stopped being able to access the web interface by its hostname. Everything else is identical to how it was with the LAN interface.

      I have firewall rules set to any any. I want to be able to access it by the hostname because I have an https certificate that will only work by his host name, not it's ip.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        And what IP does your pfsense.my.domain resolve too?  It resolves to 172.20.10.1? ??

        So create your rule on our 172.20.20 to allow access to 172.20.10.1 on the port your running your webgui.

        Your saying you have any rules on 172.20.20 interface?  This is where the traffic first enters pfsense.. Can you access the gui from the 172.20.10 network?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • A
          Atreides
          last edited by

          The domain resolves to 172.20.10.1. Shouldn't my any any rule cover that?

          On my interface I set the rule the same as the default rule:

          Rules (Drag to Change Order)
          States	Protocol	Source	Port	Destination	Port	Gateway	Queue	Schedule	Description	Actions
          		11/401.88 MiB
          IPv4 *	OPT2 net	*	*	*	*	none	 	Default allow OPT2 IPv4/6to any rule
          

          What desides what the hostname resolves to anyway? Why 172.20.10.1 when I never specified?

          1 Reply Last reply Reply Quote 0
          • A
            Atreides
            last edited by

            Well that's embarrassing, it's working all of a sudden… Thanks for the help.

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