The pfSense Store

Author Topic: outbound pptp vpn - bid for $  (Read 5901 times)

0 Members and 1 Guest are viewing this topic.

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
outbound pptp vpn - bid for $
« on: April 08, 2012, 09:18:52 am »
i need a package for pfsense 2.0.1 which enables me to create outbound pptp or in other words pptp client connections to some pptp server to create vpn and then be able to add rules to route all or destination ip based traffic through the vpn

Offline cmb

  • Administrator
  • Hero Member
  • *****
  • Posts: 6333
  • Karma: +0/-0
    • LinkedIn
    • Twitter
    • View Profile
    • Chris Buechler
Re: outbound pptp vpn - bid for $
« Reply #1 on: April 09, 2012, 01:05:43 am »
already exists:
https://github.com/bsdperimeter/pfsense/pull/72

not yet merged, has some issues to be addressed.

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #2 on: April 09, 2012, 02:56:32 am »
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

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #3 on: April 22, 2012, 12:44:55 am »
any eta on when this would be available in a stable state?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #4 on: April 24, 2012, 02:16:55 pm »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #5 on: April 25, 2012, 03:11:25 am »
so i guess it might take a few months

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #6 on: April 25, 2012, 06:33:34 am »
Yes, especially if nobody actually tries it on their own and reports feedback.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #7 on: April 25, 2012, 06:41:26 am »
mayb a guide or a development package would be helpful for me to be able to install and test

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #8 on: April 25, 2012, 08:18:34 am »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline Audiossis

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #9 on: June 28, 2012, 06:32:37 pm »
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.....

Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #10 on: June 30, 2012, 06:51:52 am »
good to hear that, waiting for it eagerly

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 2893
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #11 on: July 13, 2012, 12:10:09 pm »
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.
- Have I helped you, want to say thanks?  Donate to pfsense the cost of a beer http://pfsense.org/donate.html

Offline Audiossis

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #12 on: July 15, 2012, 12:48:06 am »
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.

Offline Audiossis

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #13 on: July 22, 2012, 01:54:56 am »
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.


Offline xbipin

  • Hero Member
  • *****
  • Posts: 1220
  • Karma: +0/-0
    • View Profile
Re: outbound pptp vpn - bid for $
« Reply #14 on: July 22, 2012, 02:41:35 am »
mayb cmb or jimp can have a look at the code and try to merge it in