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

    Surfing to website in the subnet of another interface shows pfsense login page

    Scheduled Pinned Locked Moved NAT
    17 Posts 4 Posters 717 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @Voxtra
      last edited by johnpoz

      @Voxtra said in Surfing to website in the subnet of another interface shows pfsense login page:

      When we browse to https://200.1.0.15 we end up seeing the https login page of the pfsense

      yeah that wouldn't happen unless pfsense IP was .15.. Are you access via the IP or via some fqdn? When devices on the same network talk to each other say .x talking to .y pfsense would not even be aware of the traffic unless your running on a bridge in pfsense? or one of pfsense IPs is .x or .y in that conversation.

      And with @Gertjan using public IP space on your internal network is not a very good idea.. Are you part of the Corporacion Andina de Fomento. I find highly unlikely even if you were that they would assign a /24 out of their /22 to your connection?

      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.8, 24.11

      M V 2 Replies Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @johnpoz
        last edited by

        @johnpoz
        Couldve been a network space he randomly selected as part of a test. Im guilty of using 1.1.1.0/30 on WAN links when labbing.
        Still its a directly connected interface so its routed to pfsense itself. Shouldnt be an issue.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

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

          @michmoor while technically you can use it, sure if you don't ever want to go to that space on the public.. But its really bad practice to get into.. Because as some point your going to use some public space locally that you actually want to get to.

          And it always brings up such questions when your posting asking for help ;)

          There is plenty of rfc1918 space to use, that you don't have to step on something your currently using..

          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.8, 24.11

          1 Reply Last reply Reply Quote 0
          • V
            Voxtra @johnpoz
            last edited by

            @johnpoz
            the pfsense is on IP addresses
            200.1.0.250 in LAN1
            10.20.15.254 in LAN2
            10.0.0.254 in LAN3
            there is no reference to 200.1.0.15 in the pfsense, except for NAT rules on the WAN that forward to this IP-address

            Regarding the comments about using the 200.1.0.0/24 range -> that is why we've created the LAN3 on 10.0.0.0/16.
            Our customer had this 200-range when we took over their setup. We are now moving everything step by step to the 10.0.0.0-range, so we can get rid of the 200-range. But during this process, everything should keep working.

            Main problem is still that I can't get to route from one subnet/interface to one IP-address on the other interface.
            The other subnet LAN2 routes perfectly.
            And from the LAN3 subnet, I can also get to other websites in the LAN1 subnet. It's just that one website that won't work. It's not DNS as it pings 200.1.0.15 ok. But when browsing to this IP, how is it possible that I get the pfsenses login page?

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

              @Voxtra it shouldn't be possible it really shouldn't.. Just because you can ping, doesn't really mean anything.

              So your on a device in the 200.x network - ping this 200.1.0.15 address now look in your arp table.. What does it show for that IP.. Is it a pfsense mac? If not pfsense is not invovled in the conversation in any way.

              Maybe the client thinks this .15 address is not actually on its local network.. What Is the mask on the client your trying to access the 200.1.0.15 address from

              And good to hear about migration away from the 200.x network - very valid reason to currently have it setup.. thanks for keeping my curiosity kat happy ;)

              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.8, 24.11

              V 1 Reply Last reply Reply Quote 0
              • V
                Voxtra @johnpoz
                last edited by

                @johnpoz
                the mac of 200.1.0.15 start with 00:50:56 which is VMWare. This is correct, it is a virtual machine.
                the client from which I'm trying to browse to 200.1.0.15 has IP address 10.0.0.2, subnet mask 255.255.0.0, gateway 10.0.0.254
                I just don't get why I can ping it, but browsing to it gets redirected...

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

                  @Voxtra oh so your accessing this IP from a different network.. I thought you were on some box in 200.x and trying to access 200.1.0.15 and getting pfsense login..

                  And you have no port forwards setup? No policy routing via gateway set in you rules on this 10.0 psense interface? What are you outbound nats?

                  Your saying you can access fine from your other 10.20 network, not just this 10.0 network.. And it works fine as well from device on the 200.x 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.8, 24.11

                  V 2 Replies Last reply Reply Quote 0
                  • V
                    Voxtra @johnpoz
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • V
                      Voxtra @johnpoz
                      last edited by

                      @johnpoz
                      oh so your accessing this IP from a different network.. I thought you were on some box in 200.x and trying to access 200.1.0.15 and getting pfsense login..

                      correct, that is the issue
                      And you have no port forwards setup?
                      only from WAN to LAN1, not from LAN2 to LAN3 and also not from LAN2 to LAN3
                      No policy routing via gateway set in you rules on this 10.0 psense interface?
                      No
                      What are you outbound nats?
                      None, only the automatically created rules
                      Your saying you can access fine from your other 10.20 network, not just this 10.0 network.. And it works fine as well from device on the 200.x network.
                      that is correct

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        Voxtra @Voxtra
                        last edited by

                        Just wanted to let you all know that we've made a workaround, since it was urgent and could not easily be solved. Thanks for your help!

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