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

    One static public IP - routing one pfsense box through another

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 621 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
      techinaz400
      last edited by

      Internet <-> pfs1 <-> pfs2

      I’m doing a test of a second pfsense router and I only have one public static IP. So I’m trying to use the pfs1 LAN IP of 192.168.5.171 as the WAN IP for pfs2. Is this even possible?

      pfs2 does have internet but none of the client machines on the 192.168.8.0 network have internet. They cannot ping domains or internet IP addresses.

      pfs2 is setup pretty much the same way as pfs1 and I have tried several firewall rules on both boxes but without success.

      pfs1 (two interfaces):
      WAN: x.x.x.x
      LAN: 192.168.5.1

      pfs2 (two interfaces):
      WAN:        192.168.5.171
      GATEWAY: 192.168.5.1
      LAN:        192.168.8.1

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        This should work by default, though. Both pfSense would do NAT, so you've double NAT, but this should not be a problem.
        Is the outbound NAT set to automatic mode on pfs2? pfSense has to do NAT on outbound packets on WAN.

        Have you double checked the network settings on the LAN2 machines?

        Have you really tested internet access by IP addresses to exclude a DNS issue?

        Try a traceroute to an internet address to see where it get stuck.

        1 Reply Last reply Reply Quote 0
        • T
          techinaz400
          last edited by

          Figured it out. Really stupid mistake. Typo's in configuration.

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