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

    Outbound pptp vpn - bid for $

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    20 Posts 5 Posters 13.1k 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.
    • C
      cmb
      last edited by

      already exists:
      https://github.com/bsdperimeter/pfsense/pull/72

      not yet merged, has some issues to be addressed.

      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by

        great, anyway to test and report bugs etc and help in development coz the reason y i need this is because the isp in my country block VoIP so till date i was using windows pptp vpn connection to some foreign pptp server to route calls in and out from my ATA but i couldnt leave my PC on at all times so was looking for a pfsense package as my alix box keeps running on 24/7 from many years now so that would simplify things for me

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          any eta on when this would be available in a stable state?

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            As soon as more people test it and report on how well it works. Also might have to wait for 2.2 since we're trying to keep further 2.1 changes to IPv6-only at this point.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • X
              xbipin
              last edited by

              so i guess it might take a few months

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Yes, especially if nobody actually tries it on their own and reports feedback.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  mayb a guide or a development package would be helpful for me to be able to install and test

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    You'd have to request that from the person who submitted the code, I'm not sure I saw a thread on the forum for it, so you might want to comment on that pull request and ask. Though I see now it doesn't merge cleanly anymore, so they will need to update their code. You could also gitsync to their branch (Get the git URL from https://github.com/audiossis/pfsense), though it's ~18 days behind master.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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

                      Hi all,

                      After being contacted by a member here for a copy of my code, I have decided to revisit this issue. I haven't had much time to dedicate to it lately and had put the project on hiatis as a result. I still need to figure out the proper procedure for committing code to the the project, each of the three attempts I've made so far have been rejected for one reason or another.

                      But I'm still working on it.

                      If it would help anyone, I'd be willing to bundle the code I've modified so far into a patch that can be applied to a running 2.0.1 installation? I've recently added the same functionality to L2TP connections as well (since it is all basically the same code) having found a need to create a site-to-site L2TP/IPSEC tunnel. This is as yet untested, but I hope to get that done in the next few days.

                      Watch this space…..

                      1 Reply Last reply Reply Quote 0
                      • X
                        xbipin
                        last edited by

                        good to hear that, waiting for it eagerly

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

                          I am currently running 2.1, but would love to test this - I have a vpn provider that I am looking to use, but can not seem to get the openvpn to work on pfsense and route traffic.

                          I would think pptp would be a simple solution if this code was available.  A patch for 2.1 would be very easy to test, and I could give you results very quickly if worked or not, etc.

                          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 24.11 | Lab VMs 2.7.2, 24.11

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

                            Sorry it's been taking so long. my family and I have been quite ill the last few weeks and also work has been very busy.

                            I've successfully tested the pptp and l2tp client connections between two pfSense boxes and also between on pfSense box and a gentoo linux server. There is just a couple of small bugs I need to sort out with the client configuration web page (that I introduced) and I'll be able to post a patch for you.

                            Please stay tuned, I'm going as quickly as possible.

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

                              OK. Here it is. Sorry it took me so long.

                              First a brief overview:

                              1> This PPTP/L2TP client patch is for 2.0.1 ONLY!!!! if you choose to apply it to any other version you are likely to break your firewall.

                              2> I don't know what the effects of running updates on a patched firewall appliance will be. I would suggest DON'T DO IT! At the very least you are likely to have to re-install the patch.

                              3> pfSense uses the BSD mpd daemon to manage PPP connections (as both server and client). This patch simply exposes a great many more mpd configuration options and generates the required config file.

                              4> There WILL be bugs. I have not and cannot test all possible combinations. I have however successfully established both PPTP and L2TP connections, between my pfSense appliance at work and my Gentoo Linux server at home and also between two pfSense appliances set up on a test bench.

                              Installation:

                              First ensure you have ssh access to your firewall appliance. Remember your password.

                              Second, download the patched file from here:
                              https://www.dropbox.com/sh/g3n6muzq0wg7fsg/MP19u-Pbc0

                              Unzip the package.

                              Open a terminal and navigate to the newly created directory.

                              On my Mac and my Gentoo boxes, I use the following command to copy the files to the active firewall appliance:

                              scp -r ./* root@<ip address="">:/

                              Windows users can try WinSCP to do this, but I can't help you with that. I presume the command will be very similar…..

                              Please test and post your results here. I can't promise speedy support, but I'll help where I can. In the meantime I'll continue trying to figure out the correct way to commit these changes to the main trunk.</ip>

                              1 Reply Last reply Reply Quote 0
                              • X
                                xbipin
                                last edited by

                                mayb cmb or jimp can have a look at the code and try to merge it in

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

                                  I'm easy. If they feel so inclined then I would greatly appreciate the help. I don't have a lot of time to dedicate to these sorts of projects. It's more of a "need to have" sort of thing…. ;)

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    bytheway, adding outbound pptp, would it also create an interface so we selectively route out it using firewall rules etc, similar to how we do for openvpn client?

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

                                      Hi xbipin,

                                      Well, yes. The mpd daemon creates a virtual device to act as the tunnel endpoint, just the same as pppd+xl2tpd/pptpd do under Linux. so you could certainly use pf to create routes/rules for the vpn tunnel. However, mpd also gives you the option to configure a route to the remote network when the tunnel is established, so, if you're like me and you own the networks at each end of the tunnel, it simplifies things a little. But you don't have to use that option if you don't want to.

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

                                        Hi xbipin,

                                        I'm interested to know, did the patch work for you?

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xbipin
                                          last edited by

                                          i havent tried it as yet, will do so soon

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