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

    How to create an OpenVPN client to StrongVPN

    Scheduled Pinned Locked Moved OpenVPN
    157 Posts 56 Posters 226.0k 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.
    • M
      mlimo
      last edited by

      I didnt find this solution or look into it until the 2.0 full release came out.
      It actually coincided with my need to do this :)

      I havent ever had it working :(

      ericab Does your configuration differ in any way from the steps shown on page one?

      1 Reply Last reply Reply Quote 0
      • E
        ericab
        last edited by

        @mlimo:

        ericab Does your configuration differ in any way from the steps shown on page one?

        mlimo; no it doesnt, im the author of that how-to

        1 Reply Last reply Reply Quote 0
        • A
          AuZZZie
          last edited by

          ericab what version are you running? I'm considering downgrading. Something is clearly broken/changed in 2.0 Final.

          1 Reply Last reply Reply Quote 0
          • E
            ericab
            last edited by

            im running 2.0 RELEASE, but ive been updating weekly for about 6 months now. i wonder if it makes the difference that some of you did a fresh install of 2.0 RELEASE, vs updating…

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

              Nothing has changed in OpenVPN for quite some time, well before release. Upgrading is no different from clean install except possibly in cases of running early alpha versions years ago where they may have done something bad to your config.

              Some of the symptoms described sound like letting the client get a default route from StrongVPN, which you do not want. Others who are configuring the interface as DHCP, don't do that, that's going to break things nicely, you don't get DHCP over a VPN. It has to be set to "none" which lets OpenVPN handle the addressing.

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

                I see where people were getting DHCP, as it was stated in the original post. I updated it to fix that. The rest of it looks ok at a glance, but I don't have a StrongVPN connection.

                1 Reply Last reply Reply Quote 0
                • A
                  AuZZZie
                  last edited by

                  You mention to set your NAT outbound rules to manual, but you don't actually create any rules. Is that correct?

                  1 Reply Last reply Reply Quote 0
                  • A
                    AuZZZie
                    last edited by

                    Also, with your config exactly, I see my VPN gateway come online (Status -> Gateways) then always go offline after a few seconds. With the VPN interface assigned to DHCP the Gateway stays online and I can even ping out that interface from pfSense, but nothing behind pfSense will go out.

                    EDIT: Scratch that. It makes no difference. When you change from DHCP/None on the interface it refreshes something in the background. That is all that is changing. If I reboot the machine with the interface on DHCP the Gateway does the same thing.. Online for a few seconds then offline.

                    1 Reply Last reply Reply Quote 0
                    • A
                      acids7n
                      last edited by

                      @AuZZZie:

                      Add another one to the list. I've gone over my config 100 times and it is correct. There is something up here.. I have the exact same symptoms as described.

                      Also using the 2.0 Official release.

                      I too have followed the guide to a T. And my problem is exactly the same. It connects in the logs. I get a strong vpn private ip. I can ping it from my pc. But I cannot surf or ping out beyond. I turn it off and everything works. I am only routing one ip logitech revue box rather than whole subnet. And I've made all the nat changes and aon etc.
                      PS first post. First time user of pfsense or any other linux router distribution. Loving this (pfsense)

                      EDIT***
                      well i added the option comp-lzo to the end of the long string of options in (vpn/openvpn/client/advanced configuration)
                      verb 5;tun-mtu 1500;fragment 1300;keysize 128;redirect-gateway def1;persist-key;comp-lzo

                      and now it all works great, hope that helps

                      1 Reply Last reply Reply Quote 0
                      • A
                        AuZZZie
                        last edited by

                        @acids7n:

                        @AuZZZie:

                        Add another one to the list. I've gone over my config 100 times and it is correct. There is something up here.. I have the exact same symptoms as described.

                        Also using the 2.0 Official release.

                        I too have followed the guide to a T. And my problem is exactly the same. It connects in the logs. I get a strong vpn private ip. I can ping it from my pc. But I cannot surf or ping out beyond. I turn it off and everything works. I am only routing one ip logitech revue box rather than whole subnet. And I've made all the nat changes and aon etc.
                        PS first post. First time user of pfsense or any other linux router distribution. Loving this (pfsense)

                        EDIT***
                        well i added the option comp-lzo to the end of the long string of options in (vpn/openvpn/client/advanced configuration)
                        verb 5;tun-mtu 1500;fragment 1300;keysize 128;redirect-gateway def1;persist-key;comp-lzo

                        and now it all works great, hope that helps

                        Thanks for posting mate. I'll give it a shot.. Can you clarify your other settings.

                        Are you using Manual NAT?
                        Is your VPN interface on DHCP or None?

                        1 Reply Last reply Reply Quote 0
                        • A
                          AuZZZie
                          last edited by

                          Ok I'm to the point where I can reliably connect the OpenVPN client, pfSense Gateway shows online and pfSense itself can ping out the VPN interface. I still lose internet connectivity from any node behind pfSense though. I've attached all the relevant screenshots. Hopefully someone spots something I'm missing cause this is driving me wild.

                          Here you can see the config….






                          Here you can see the OpenVPN client connected and the pfSense box able to send out the VPN interface



                          1 Reply Last reply Reply Quote 0
                          • A
                            acids7n
                            last edited by

                            @AuZZZie:

                            @acids7n:

                            @AuZZZie:

                            Add another one to the list. I've gone over my config 100 times and it is correct. There is something up here.. I have the exact same symptoms as described.

                            Also using the 2.0 Official release.

                            I too have followed the guide to a T. And my problem is exactly the same. It connects in the logs. I get a strong vpn private ip. I can ping it from my pc. But I cannot surf or ping out beyond. I turn it off and everything works. I am only routing one ip logitech revue box rather than whole subnet. And I've made all the nat changes and aon etc.
                            PS first post. First time user of pfsense or any other linux router distribution. Loving this (pfsense)

                            EDIT***
                            well i added the option comp-lzo to the end of the long string of options in (vpn/openvpn/client/advanced configuration)
                            verb 5;tun-mtu 1500;fragment 1300;keysize 128;redirect-gateway def1;persist-key;comp-lzo

                            and now it all works great, hope that helps

                            Thanks for posting mate. I'll give it a shot.. Can you clarify your other settings.

                            Are you using Manual NAT?
                            Is your VPN interface on DHCP or None?

                            Manual (aon)
                            And VPN is on none now (i tried dhcp before also and even though it showed as up it actually wasn't) but it works on none for me.

                            I'm too much of a newbie to really give you advice but your screen shots look like mine, i got the comp-lzo thing from looking at the system logs it showed up as warning, so i did a search on it and found another user on this forum with a different issue who put that option in and it worked for them. so maybe the logs hold the answer….

                            1 Reply Last reply Reply Quote 0
                            • A
                              AuZZZie
                              last edited by

                              Still no success. I'm starting to wonder if something is different in the NanoBSD version that I'm using. It makes no sense that others have it working with the exact same config.

                              1 Reply Last reply Reply Quote 0
                              • A
                                AuZZZie
                                last edited by

                                So I restored to factory defaults.. Did everything the exact same and what do you know, it's working..  ???

                                Except now, despite the VPN route not being set as default and the ACL rules being in the correct order it routes EVERYTHING over the tunnel while it is connected. It completely ignores any of the PBR rules.

                                Losing faith in pfSense.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  AuZZZie
                                  last edited by

                                  VICTORY!!!

                                  I don't know what is happening on the backend but this is what I determined. I had everything correct from the get go. The problem is I also have some IPSEC tunnels.

                                  I blew away my config back to factory defaults and tried it again. Still couldn't get it to work. So I reset to factory defaults again, this time I created the OpenVPN client tunnel BEFORE my IPSEC tunnels. All of a sudden everything works nicely.

                                  For whatever reason if I have my IPSEC tunnels created first I have issues. Makes no sense to me but I'm glad I've finally got it working.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    acids7n
                                    last edited by

                                    i too turned rules/settings/interfaces on and off multiple times, and the lzo compression was the last setting for me, glad us newbies got it to work, now if i can get the right firewall rule to route all netflix/hulu traffic through the vpn…

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      AuZZZie
                                      last edited by

                                      @acids7n:

                                      i too turned rules/settings/interfaces on and off multiple times, and the lzo compression was the last setting for me, glad us newbies got it to work, now if i can get the right firewall rule to route all netflix/hulu traffic through the vpn…

                                      I haven't had a lot of luck routing JUST Netflix/Vudu etc traffic. I route based on source IP as I haven't managed to find definitive subnets for the Netflix content delivery system.

                                      It works for my main devices, would be nice to route based on destination though.

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

                                        Thanks for the excellent article. I am now able to route AStrill Openvpn through my pfsense using your guide as a base. Excellent work. Thanks again.

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          wanie
                                          last edited by

                                          Hi,

                                          thanks for the howto.
                                          I have configuratet all your steps correctly, but i'm using pp instead of strongvpn.
                                          The VPN tunnel is working, but firewall is blocking my traffic.
                                          AON is active.
                                          I called the Interface "PP_CZ" and can see in the firewall log, that all traffic to the web is blocked.
                                          I was allready trying with play arround the firewall rule, but no luck. :-(

                                          Have anyone some advice?
                                          If any screenshot are helpful, pleas let me know what you have to see.

                                          regards,
                                          wanie

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

                                            is the how to still accurate ? i had some issue too. vpn is comming up, put i can't pass any traffic.

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