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

    Cannot acces wan-ip from lan.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 1.1k 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.
    • T
      tonlof
      last edited by

      I will try to explain what my problem is.
      I have several dedicated wanip that I have setup under Virtual IP Addresses.
      One of the WAN ip is NAT:ed to LAN camera ip 192.168.2.200 that I can access from outside but not locally. This worked fine on my old ipcop firewall.
      Can I setup a rule that also redirect the wan:ip inside the LAN network to the camera IP?

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

        You need to enable nat reflection for that to work - but I have to wonder why you can not just use 192.168.2.200 since your on the local network anyway?  Or just setup pfsense to resolve whatever name you might be using to resolve that to your local address?

        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
        • T
          tonlof
          last edited by

          Thank you so much I got it work. I have a ip camera app in my android with camera url to the wan ip.
          Before I Nat Reflection it only works on 3g/4g not when I was home at wifi. Now it's work with both :)

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

            "with camera url to the wan ip."

            And it would be quite simple to setup pfsense to resolve your camera url to your camera's local 192.168 IP as well and not have to use nat reflection.

            So when your phone is on your local network using pfsense as dns it resolves camera url to your local IP  And when its outside your network and using some public dns it would resolve your camera url to your public IP.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.