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

    pfsense to usg unable to ping lan devices

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    6 Posts 2 Posters 681 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.
    • eliteharbinger42E
      eliteharbinger42
      last edited by

      Hi,
      Am new to using pfSense and have pfSense 23.05 on an SG1100 which is connected to my cable modem, the SG1100 is then connected to a Unifi USG.
      The reason for this set-up is as whilst the USG can do IPS/IDS this has a big impact on the internet speed, so wanted to offload this functionality to the pfSense unit and this is effective.
      Whilst all this seems to work I have an issue that from the pfsense unit I cant ping devices on the Lan behind the USG, which means that I cant direct specific traffic to some Lan devices directly.
      So for example to pass the logs from the pfsense to a log server on the LAN the traffic is directed to the USG IP and from there a Firewall rule directs all 514 traffic to the log server.
      The setup is:
      Cable Modem(192.168.100.1) >
      pfSense (192.168.2.1) >
      USG (DHCP Address From pfSense 192.168.2.10) >
      USG (192.168.2.1 Providing DHCP to LAN)

      I have tried reading up on this but am getting lost tbh.

      Anyone have any ideas/pointers on how I can solve this.

      Many thanks

      R eliteharbinger42E 2 Replies Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @eliteharbinger42
        last edited by

        @eliteharbinger42 said in pfsense to usg unable to ping lan devices:

        USG (DHCP Address From pfSense 192.168.2.10) >
        USG (192.168.2.1 Providing DHCP to LAN)

        Your USG LAN and your 1100 LAN are the same CIDR?
        If so that's likely your problem.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        1 Reply Last reply Reply Quote 0
        • eliteharbinger42E
          eliteharbinger42 @eliteharbinger42
          last edited by

          @eliteharbinger42

          Hi

          Thanks for the reply.

          I took the default options for setting up a connection from the USG to the pfSense unit.

          The USG gets it IP from the pfsense Unit, hence the same CIDR, not sure how I would set it up otherwise.

          The LAN DHCP server is provided by the USG,

          Screenshot 2023-07-30 194752.png
          Screenshot 2023-07-30 195321.png Screenshot 2023-07-30 194952.png Screenshot 2023-07-30 194927.png Screenshot 2023-07-30 194822.png

          R 1 Reply Last reply Reply Quote 0
          • R
            rcoleman-netgate Netgate @eliteharbinger42
            last edited by

            @eliteharbinger42 Just so you know - you will not get 1200mbps from an 1100. You will get 450-600mbps in most configurations.

            So you have 192.168.1.0/24 on the USG LAN (you said you have 192.168.2.x).

            Make sure your rules on your LAN interface on the pfSense are not configured in such a manner that blocks RFC1918 or anything not in the LAN NET for source.

            Ryan
            Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
            Requesting firmware for your Netgate device? https://go.netgate.com
            Switching: Mikrotik, Netgear, Extreme
            Wireless: Aruba, Ubiquiti

            eliteharbinger42E 1 Reply Last reply Reply Quote 0
            • eliteharbinger42E
              eliteharbinger42 @rcoleman-netgate
              last edited by

              @rcoleman-netgate

              Hi,

              Thanks for the reply it is very much appreciated.

              Am getting a re-purposed Cisco Wave Box to replace the SG1100.

              Will look into your comments.

              Just to confirm that the USG gets it IP from pfsense and the USG provides DHCP for the LAN under 192.168.1.0/24.

              Cheers

              1 Reply Last reply Reply Quote 0
              • eliteharbinger42E
                eliteharbinger42
                last edited by

                Hi,

                I have had another look at this but am getting nowhere, probably my lack of knowledge.

                Did find this post which seems similar and have tried to follow the suggested resolution but dont think I have got that right:

                https://forum.netgate.com/topic/152523/pfsense-and-ubiquiti-usg-working-together

                The suggested resolution was:

                ***stephenw10 Netgate Administrator
                Aug 11, 2020, 1:13 AM

                You don't. You need a route from pfSense to the USG LAN. Otherwise pfSense has no idea how to reach it and traffic that it gets for a client in the USG LAN will not be routed correctly.
                
                If you don't have a statuc route back to the USG LAN the NAT allows it work by translating all the traffic to the USG WAN address which pfSense does know how to reach.
                

                1x NAT is better so add the static route to pfSense. Disable NAT on the USG.

                Steve

                stephenw10 Netgate Administrator
                Aug 11, 2020, 1:41 AM

                The static route has to be on pfSense itself. You have to add a static route via a gateway so first go to System > Routing > Gateways and add a new gateway.

                Set the USG WAN IP as a gateway and on the pfSense LAN interface which will be in the same subnet.
                Now go to the static routes tab. Add a new static route to the USG LAN subnet via the new gateway you just added.

                With that in place pfSense can reach the clients without the USG having to NAT.

                Steve***

                So the IP's I have are:
                pfSense 192.168.2.1
                USG WAN from pfSense 192.168.2.10
                USG LAN 192.168.1.1 Providing DHCP to LAN Clients

                This is what I have tried:
                Screenshot 2023-08-03 161807.png

                Screenshot 2023-08-03 161933.png

                Screenshot 2023-08-03 162031.png

                Any help wpuld be really appreciated.

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