Hi there, been working on my selfhosted setup a bit lately and just noticed that if I browse to my own WAN-IP it will show to the public the interfance of my oc200 omada hardware controller. While it does have a login form with username password, id be much more confident if this wasnt public at all. I’ve looked online and in my settings but struggle to find anything related to this. Is it common that this is on be default?

Any pointers greatly appriciated.

Edit: Solved - I panicked without thinking I was on my own lan when checking this…

  • anamethatisnt@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 day ago

    First off, check that it is also true when using a device outside the LAN. Easiest would be to check with your phone with wifi off. You probably won’t get to the login.
    If you do then it’s time to check firewall settings.

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 day ago

      Yeah ur right, i was on my LAN and thats why it worked. I only assumed because I was accessing it via my WAN IP it was ‘automatically’ public.

      • anamethatisnt@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 day ago

        Hairpin NAT/NAT Reflection can make the experience of visiting the WAN IP from the LAN a different one then if you do it from somewhere else. Or what is your what?

  • bigredgiraffe@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 day ago

    I know you solved it but for anyone that finds this later this feature/behavior is typically called “NAT Hairpin” in case you are looking for a setting to enable or disable, hope this helps!

  • Goingdown@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Can you access your wan ip when you are somewhere else than on your own lan?

    If not, then this is probably just that your router does firewalling and nat is such order that you can access admin interface from local network via wan address.

    If yes, then router has some serious misconfiguration.

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Yeah exactly what happened, i was on my lan thinking WAN IP meant it was public - it was not :P

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      No I wasnt… just realised this, thats a great relief really. Was afraid it had been publicly available all this time.

      Learn something new every day :)

      • scholar@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        18 hours ago

        It’s worth checking from an external network anyway, but I’d be surprised if it was public facing.

    • Sips'@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Ah yeah you’re right, i can only access this interface if I am on my LAN. Tried with hotspot now and it doesn’t “load” - so thats good.

      • TheButtonJustSpins@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        My opnSense box does the same thing. I’d rather get to it via internal IP like pfSense worked. (I assume I can make that happen somehow, but I haven’t researched it yet.)