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

    multiple virtual ips port forward strange lan behavior (solved)

    Scheduled Pinned Locked Moved NAT
    12 Posts 4 Posters 758 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.
    • S
      superprick
      last edited by

      my clients are using pfsens for dns. all via dhcp. and yes it is redirected to the gui. i will change the ports

      1 Reply Last reply Reply Quote 0
      • S
        superprick
        last edited by superprick

        one mistake i am using resolver

        1 Reply Last reply Reply Quote 0
        • S
          superprick
          last edited by

          ok so i changed to gui port to 444 i am no longer being directed to the pf login. but trying the fqdn it is not resolving. browser just sits there trying. i can still connect via the internet

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

            Seems like your override is not working - are you trying to do a domain overrride or a host override?

            If you want host.domain.tld to resolve to 192.168.1.X while your local that is a host override, if you want pfsense to go ask some specific NS when query queries for anything.domain.tld then that would domain override.

            Simple enough to validate if host override is working or even domain override... Do a simple query using your fav dns client, nslookup, host, dig - what gets returned?

            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
            • S
              superprick
              last edited by superprick

              what i really want is on the local network for https://example.com to be resolved by lets say google so that the ssl cert is intact. i tried both a domain and host override dig curl both fail

              maybe this is a clue. on the lan i tried to address the virtual ip directly and it fails to connect as well

              1 Reply Last reply Reply Quote 0
              • V
                viragomann
                last edited by

                SSL has nothing to do with DNS or the destination IP. The only thing here is that the hostname in the HTTP host header has to match the name of the virtual web server.

                So if you want resolve https://example.com locally, just set an DNS host override and put "example" in the host box and "com" in the domain box.

                S 1 Reply Last reply Reply Quote 0
                • S
                  superprick @viragomann
                  last edited by superprick

                  @viragomann i configured the host override as you stated. and it does not work. also if i am on the lan with outbount traffic routed through isp ip x.x.x.98 shouldnt i be able to directly address in a browser x.x.x.99 and 100. this does not work. but both of these addresses connect to my servers attached to virt ip's in pfsense from another internet connection. i cant even ping these addresses from the lan

                  1 Reply Last reply Reply Quote 0
                  • S
                    superprick
                    last edited by

                    Nat reflection. problem solved. i turned it on enable nat reflection 1to1 and outbound all works
                    new to the forum how do i mark as solved

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

                      @superprick said in multiple virtual ips port forward strange lan behavior (solved):

                      and it does not work

                      Host overrides actually take work to F up ;) they are so easy to do.

                      hostoverride.png

                      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
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        @superprick said in multiple virtual ips port forward strange lan behavior (solved):

                        dig curl both fail

                        You might benefit from showing your work there.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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