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

    Want to reach my inside web_server from outside

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.9k 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
      tambakoly
      last edited by

      Can someone put a screen capture of the NAT/rules and NAT/port_forwad  so I can reach my server inside the lan when I am outside.

      My router ip = 10.0.0.1/8
      Pfsense Wan ip = 10.0.0.254/8
      Pfsense Lan ip = 192.168.1.1/16

      My web_server ip = 192.168.1.101/16
      The PC from which I want to reach the web_server is = 10.0.0.7/8

      Thanks …

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        why do people post the same thing in two different threads?

        attached you can see an example of NAT and FireWall rule (which is autocreated when you create the NAT entry)

        the server that should be accessible has the IP 172.22.30.200 and runs on port 81.
        if you want to run your server on port 80 you need to change the webgui of pfsense to a different port.

        if you dont want to do that you can create a Virtual IP in your subnet on WAN and 1:1 NAT this VIP to your server.
        the server is then accessible via this VIP

        freenas_webgui_nat.JPG
        freenas_webgui_nat.JPG_thumb
        freenas_webgui_fw.JPG
        freenas_webgui_fw.JPG_thumb

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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