Navigation

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

    PfSense and Ubiquiti

    General pfSense Questions
    6
    21
    5653
    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.
    • S
      Smoothrunnings last edited by

      My network is mostly ubiquit except for my firewall which is a WatchGuard XTM (with 8GB of RAM and SSD) running pfSense 2.4 along with HAProxy.

      I want the fuctionality of Ubiquiti and would like to buy a USG-Pro-4, i wonder if anyone has had some success connecting the two together, ideally I want (if possible) to put the USG first, and then let the internet traffic in/out go to the pfSense before hitting my network.

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • GentleJoe
        GentleJoe last edited by

        The USG is not anywhere near as capable as pfsense I'm afraid.

        I have a USG, I install it and swap out the pfsense occasionally, then a day later put pfsense back in.

        I have thought about using pfsense as the DHCP server, OpenVPN server, DNS server….. then USG do the rest.

        1 Reply Last reply Reply Quote 0
        • S
          Smoothrunnings last edited by

          @Gentle:

          The USG is not anywhere near as capable as pfsense I'm afraid.

          I have a USG, I install it and swap out the pfsense occasionally, then a day later put pfsense back in.

          I have thought about using pfsense as the DHCP server, OpenVPN server, DNS server….. then USG do the rest.

          Thanks for the info, but it doesn't really help me.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • GentleJoe
            GentleJoe last edited by

            Well, you can put one behind the other if you want to.

            If you want to use the USG for the new security features they just enabled.

            The USG's (Unifi's) logging feature are quite poor, not reliable, random times, not clear which scales they use, etc.

            1 Reply Last reply Reply Quote 0
            • johnpoz
              johnpoz LAYER 8 Global Moderator last edited by

              What feature(s) of the usg are you wanting.. The dpi?

              I recently updated my internet to 500/50.. At the time pfsense running as vm on older hardware could not handle this speed.. only about 120 down on the connection.  So as a quick solution to the problem I got a usg 3p (gateway) it was 112$ on amazon and was here in 2 days with prime.. I had ordered this before they put in the new line, along with the new modem - why would you pay them rent on something you can by and the rent pays for in less than a year..

              Anywhoo. I was correct the pfsense vm could not handle the new speed, and I had to put the usg in.. While I was able to get full speed with the offloading.. If you enabled their shaping speed was in the dirt and only in the 100mpbs range for download..

              While the dpi info is slick.. Other than that it is really sad how far they are behind in basic ease of setup.. Can not even setup an alias, while some stuff can be done with cli to get some basic features that are clickity clickity in pfsense.. Make sure you don't have the controller provision the usg or your setting will be lost, etc.  I am a huge unifi fan and love the AP and run beta code on them and the controller.

              And was very impressed with the price point and performance of the usg.. But if your wanting to do any sort anything other than get on the internet its not quite there.. Can not easy setup a vpn client connection,  can not setup a easy openvpn server, can not setup a easy HE ipv6 tunnel… Like zero features in their dhcp server, and zero dns features. ZERO... the box doesn't even point to itself for dns so it queries its ping.ubnt.com every single minute because it doesn't even cache the ttl..

              If you want a usg 3p I will give you pfsense forum discount on my slightly used one.. But be happy to help you discuss how you could integrate it into your network.. But what feature(s) are you trying to get from it that pfsense does not already supply.. the dpi info would be the only thing.. Just install the ntop package on pfsense ;)

              It really was painful using it, I finally got my sg4860 in to replace it and all is right with the world again... But for the price point and the speed at which they add features and fix stuff in a couple years I could see it as nice little product.. And if you do not mind the pain of working with json files and loss of settings on provision from controller, etc.  It can do some good stuff.. Its a slick little product sure..  But its like nice A4 they loan you when you drop off your A8 for service ;)  The A4 is nice and all - but not in the same league..

              When your use to driving a Genesis G90 and they give you a Elantra that isn't even fully loaded.. Its a huge difference ;)

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 23.01 | Lab VMs CE 2.6, 2.7

              1 Reply Last reply Reply Quote 0
              • S
                Smoothrunnings last edited by

                I am sorry to hear that you USG-3P couldn't hand your internet. My work friends own the USG-3P, I actually make fun of them not owning the Pro saying they aren't "PRO" enough! Anyhow one them has Rogers Gbit Fiber internet, granted switches max out at 1Gbit/sec the doesn't have any problems getting close to those speeds.

                In the past when pfSense was version 2.3.x I was talking to guy on the USG forum who was trying to do what I looking to still do. He found that pfSense wasn't very good at it at the time and the only other firewall software that worked best was Sophos XG which he said was a walk in the park compared to doing it with pfSense. Now that we are on 2.4.x, and I have invested in my WatchGuard XTM 5 (put a faster CPU and 8GB of RAM in it) I would like to keep it a bit longer if that's possible. I have looked that Sophos XG documentation and for what I use pfSense for right now setting it up on the Sophos looks much easier than what I had to go through to get it setup this way. lol

                I appreciate your offer on the USG-3P but it's not PRO enough for me. :P

                And yes DPI is one of the things am interested in, and possibly VPN…but that's another project down the road.

                Thanks,

                1 Reply Last reply Reply Quote 0
                • johnpoz
                  johnpoz LAYER 8 Global Moderator last edited by

                  the usg-3p could handle the 500/50 fine as long as it didn't turn the shaping which turns off the hardware offload.. If you left hardware offload on it handled the 500 without any issue..

                  If you want dpi, then just install the ntop package all the dpi you could want ;)  And pfsense also has layer 7 filtering back… with the snort package..
                  https://www.netgate.com/blog/application-detection-on-pfsense-software.html

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                  1 Reply Last reply Reply Quote 0
                  • S
                    Smoothrunnings last edited by

                    @johnpoz:

                    the usg-3p could handle the 500/50 fine as long as it didn't turn the shaping which turns off the hardware offload.. If you left hardware offload on it handled the 500 without any issue..

                    If you want dpi, then just install the ntop package all the dpi you could want ;)  And pfsense also has layer 7 filtering back… with the snort package..
                    https://www.netgate.com/blog/application-detection-on-pfsense-software.html

                    It's not the same, I already have it installed. And I already have Ubuiqiti gear in my environment.

                    My environment now. The main switch on the backside and the UAP's are in the ceiling.
                    https://youtu.be/w8LTeGWgU8w

                    1 Reply Last reply Reply Quote 0
                    • johnpoz
                      johnpoz LAYER 8 Global Moderator last edited by

                      I have unifi gear as well, I have 3 AC ap in my home.. Love um… But the dpi info just some eye candy, there was nothing of actual use there in tracking down anything to be honest.. ok client X did 2.3GB of data type XYZ..  When and to where exactly would very useful... I didn't see that sort of breakdown

                      From what I was reading though was a way to put the usg be it the 3p or the pro models in monitor mode for the dpi info..  Wouldn't you be able to just span a port to it on your switch if you wanted it to report on traffic type, etc.

                      As to vpn - hands down this is just clickity clickity in pfsense to setup.. be it server or client.. and policy routing using or not use client vpn again click click..

                      if you gave some exact details of how you want to leverage the unifi.. Be happy to discuss..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                      1 Reply Last reply Reply Quote 0
                      • S
                        Smoothrunnings last edited by

                        What do you know about setting up pfSense 2.4.2 VPN (OpenVPN) using Windows 2016 NPAS for RADUIS?

                        I tried it once already and it didn't work out well.

                        Thanks,

                        1 Reply Last reply Reply Quote 0
                        • Derelict
                          Derelict LAYER 8 Netgate last edited by

                          Works fine.

                          If you can successfully authenticate using Diagnostics > Authentication you should be able to leverage that server with OpenVPN.

                          Chattanooga, Tennessee, USA
                          The pfSense Book is free of charge!
                          DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Smoothrunnings last edited by

                            Is there a good walk through setting it up?

                            The stuff I have seen pre-dates pfSense 2.3.x and server 2008.

                            1 Reply Last reply Reply Quote 0
                            • Derelict
                              Derelict LAYER 8 Netgate last edited by

                              Everyone's AD is different enough that making a walkthrough is pretty much useless.

                              General stuff though:

                              Create a RADIUS client in NPS for the pfSense source address and password

                              Set up a RADIUS Authentication server pointing to that.

                              Chattanooga, Tennessee, USA
                              The pfSense Book is free of charge!
                              DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

                              1 Reply Last reply Reply Quote 0
                              • johnpoz
                                johnpoz LAYER 8 Global Moderator last edited by

                                How many vpn users will you have that using radius to auth makes sense?  This is not a home setup I take it then?  Yeah Derelict is right what does the diagnostics auth section tell you?

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Smoothrunnings last edited by

                                  @johnpoz:

                                  How many vpn users will you have that using radius to auth makes sense?  This is not a home setup I take it then?  Yeah Derelict is right what does the diagnostics auth section tell you?

                                  I think I need to take a break from this fourm. Instead telling what I want or what I should do you should offer to help me to get there. This isn't directly at only you (Johnpoz) but everyone who has contributed to this thread what I want or should do. I have found myself having to fight a battle here which I should have to do.

                                  Thanks,

                                  1 Reply Last reply Reply Quote 0
                                  • johnpoz
                                    johnpoz LAYER 8 Global Moderator last edited by

                                    Good luck then.. But you have not actually asked a question that can just answer..  Other than can you put your unifi in front of pfsense.. Sure do that - do it via double nat, or turn off nat in pfsense and setup transit to pfsense want from your unifi router be it the pro line or the usg, etc.  Personally do not get what that gets you exactly?  And seem more like a discussion on how you can integrate unifi with pfsense - but with out some specific on that integration seems more of discussion.

                                    This is not really a ask a question get an answer forum. This is a discussion forum, not an interface for your support tickets ;)  If you want such support open a ticket with pfsense using your support subscription.

                                    Not sure what openvpn auth to windows AD has to do with unifi as example discussion..

                                    The ntopng info is vastly more useful than the eye candy the dpi gives in unifi..  How exactly are you trying to integrate your unifi with pfsense.  And be more than happy to answer that specific question - but software there has not been a specific question to answer from my take.. Its a discussion..

                                    Do you really need specific help putting pfsense behind usg - it would work out of the box in double nat setup, just like putting pfsense behind any other sort of nat router..  Do you need help on creating a transit network between your edge usg doing nat, and turning off pfsense from doing nat?  Problem with the nat option is your dpi info would just show pfsense wan IP doing all the traffic.

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                                    1 Reply Last reply Reply Quote 0
                                    • Derelict
                                      Derelict LAYER 8 Netgate last edited by

                                      Yeah I am not exactly sure what OP expects to happen here. A complete AD authentication design consultation from a forum member?

                                      • Enable NPS in AD

                                      • Create an NPS client for pfSense

                                      • Create a RADIUS authentication instance in pfSense

                                      • Test in Diagnostics > Authentication - get it working there.

                                      • Enable that for OpenVPN.

                                      Chattanooga, Tennessee, USA
                                      The pfSense Book is free of charge!
                                      DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
                                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mikeisfly last edited by

                                        LDAP works with OVPN too.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          robi last edited by

                                          @Derelict:

                                          Yeah I am not exactly sure what OP expects to happen here. A complete AD authentication design consultation from a forum member?

                                          The main pont was this sentence:

                                          I actually make fun of them not owning the Pro saying they aren't "PRO" enough!

                                          He wants to make a "PRO" looking thing to be able to boast to his friends. This whole topic and OP has nothing to do with real issues and solutions.
                                          If somebody can't understand (including friends) that pfSense is more "PRO" than anytning containing "PRO" in its name, let them go…

                                          1 Reply Last reply Reply Quote 0
                                          • johnpoz
                                            johnpoz LAYER 8 Global Moderator last edited by

                                            Ah so he wants to brag to his buds hey I run "pro" usg and pfsense - so I am extra "pro" hehe

                                            Think you hit it on the head..

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                                            1 Reply Last reply Reply Quote 0
                                            • R
                                              robi last edited by

                                              That's why I'll never, ever buy a BMW.  8)

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post