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

A Wan IP forwarded to a Lan IP

Scheduled Pinned Locked Moved NAT
6 Posts 3 Posters 13.5k 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.
  • B
    behjansen
    last edited by Jun 17, 2009, 1:17 PM

    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
    • G
      GruensFroeschli
      last edited by Jun 17, 2009, 2:53 PM

      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 Jun 17, 2009, 2:57 PM

        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 Jun 17, 2009, 3:11 PM

          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 Jun 17, 2009, 3:20 PM

            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 Jun 17, 2009, 5:26 PM

              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
              5 out of 6
              • First post
                5/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received