PPTP Through OpenVPN

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
koolooloos
OpenVpn Newbie
Posts: 3
Joined: Fri Apr 05, 2013 10:53 pm

PPTP Through OpenVPN

Post by koolooloos » Fri Apr 05, 2013 11:08 pm

Hi,

My ISP has recently blocked all the usual VPN connection ports (PPTP, L2TP, SSTP), however I have found that I'm still able to use OpenVPN which is a relief.
I use VPN to gain access to a network abroad where my servers are and for that I need the PPTP to work in order to get behind the firewall. Now my question is, how can I do this using OpenVPN. Previously, when the PPTP port had been blocked, I would simply use the L2TP connection and then connect to my PPTP and that would work just fine.
However, now when I want to do the same with OpenVPN it doesnt work. This may sound really silly to some of you experts out there, but I have to admit that I'm pretty much a newbie when it comes to computer networking. Having said all that, I really really nead that PPTP connection to work as my job depends on it.

I would be very grateful for any advice and help

Kind regards
Koolooloos

koolooloos
OpenVpn Newbie
Posts: 3
Joined: Fri Apr 05, 2013 10:53 pm

Re: PPTP Through OpenVPN

Post by koolooloos » Sat Apr 06, 2013 10:46 am

Just to provide further information regarding my case, here is my config file

Code: Select all

client
dev tun

proto tcp
remote 127.0.0.1 1900
http-proxy ro.ovadd.com 7080

persist-key
persist-tun
resolv-retry infinite
route-metric 1

nobind
pull

verb 3

auth-user-pass


<ca>
-----BEGIN CERTIFICATE-----
MIIDsjCCAxugAwIBAgIJALOIv+nmBVspMA0GCSqGSIb3DQEBBQUAMIGYMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCQ0ExFTATBgNVBAcTDFNhbkZyYW5jaXNjbzEQMA4G
A1UEChMHTmV4dFZQTjERMA8GA1UECxMIY2hhbmdlbWUxEDAOBgNVBAMTB05leHRW
UE4xETAPBgNVBCkTCGNoYW5nZW1lMRswGQYJKoZIhvcNAQkBFgxtYWlsQE5leHRW
UE4wHhcNMTI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ts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: PPTP Through OpenVPN

Post by ecrist » Sat Apr 06, 2013 1:05 pm

Don't post your certs to a public forum...
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

koolooloos
OpenVpn Newbie
Posts: 3
Joined: Fri Apr 05, 2013 10:53 pm

Re: PPTP Through OpenVPN

Post by koolooloos » Sat Apr 06, 2013 6:33 pm

Sorry, was not aware of that.

Could you please help me with my problem?
ecrist wrote:Don't post your certs to a public forum...

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: PPTP Through OpenVPN

Post by janjust » Tue Apr 09, 2013 11:03 am

I have run PPTP over OpenVPN but I must admit that in that case the PPTP server was running on the same subnet as the OpenVPN server;
I'd switch to a 'tap' setup

Code: Select all

dev tap
to ensure that the right PPTP packets are forwarded over the link. YMMV

Post Reply