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

    A Wan IP forwarded to a Lan IP

    NAT
    3
    6
    13.5k
    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.
    • B
      behjansen
      last edited by

      Hi,

      i have pfsense 1.2.3 and my wan IP is 192.168.0.10 my lan ip is 172.16.1.93
      Now i want a wan IP 192.168.0.14 to be forwarded to 172.16.1.174

      This because on IP 172.16.1.174 is running a website.
      And i want that also people from the wan network can reach my website so if they connect to 192.168.0.14 they have to come on my website with is on 172.16.1.174.

      Could some body please help my thanks

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

        1: Create a VIP on the WAN. (Firewall –> Virtual IPs)
        2: Create a NAT forwarding using the VIP. (Firewall --> NAT)

        done :)

        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
        • C
          clarknova
          last edited by

          Be sure to uncheck the "Block Private Networks" box on the Interfaces|WAN page and apply or no incoming connections to the WAN will get through.

          db

          db

          1 Reply Last reply Reply Quote 0
          • B
            behjansen
            last edited by

            If i do this i don't go to my website the only things whats happening is i go to the web configuration page of pfsense. What i'm doing wrong?

            1 Reply Last reply Reply Quote 0
            • B
              behjansen
              last edited by

              Oké this is what i have…

              pfsense 1)

              WAN: 192.168.0.10
              LAN:  172.16.1.93

              VIP:  172.16.1.254

              pfsense 2)

              WAN: 192.168.0.12
              LAN:  172.16.1.83

              VIP:  172.16.1.254


              They are working to getter as one in a Fail-over.

              My laptop have

              IP:    172.16.1.174
              Sub:  255.255.255.0
              Gate:  172.16.1.254
              DNS:  172.16.1.254


              On my laptop is a webpage.
              Now i want the wan IP's

              192.168.0.14
              192.168.0.15
              192.168.0.16

              being forwarded to my laptop.

              I hope you can help my now?

              1 Reply Last reply Reply Quote 0
              • C
                clarknova
                last edited by

                Go to System: General Setup and enter a number other than 80 for webGUI port (or check HTTPS for WebGUI protocol) and Save, Apply. Port 80 won't forward if pfsense is already listening on it.

                Go to Firewall:Virtual IP Address and create entries for 192.168.0.14/31 and 192.168.0.16 Save, Apply. pfsense has to know that your WAN is assuming those IP addresses.

                Go to Firewall: NAT: Port Forward and create an entry for WAN any TCP http 172.16.1.174 http Auto-add, Save, Apply. pfsense has to be told to forward your http port and to what internal address.

                db

                db

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