Page 1 of 1

PPTP Through OpenVPN

Posted: Fri Apr 05, 2013 11:08 pm
by koolooloos
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

Re: PPTP Through OpenVPN

Posted: Sat Apr 06, 2013 10:46 am
by koolooloos
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
UE4wHhcNMTIxMjA1MTAzMzM2WhcNMjIxMjAzMTAzMzM2WjCBmDELMAkGA1UEBhMC
VVMxCzAJBgNVBAgTAkNBMRUwEwYDVQQHEwxTYW5GcmFuY2lzY28xEDAOBgNVBAoT
B05leHRWUE4xETAPBgNVBAsTCGNoYW5nZW1lMRAwDgYDVQQDEwdOZXh0VlBOMREw
DwYDVQQpEwhjaGFuZ2VtZTEbMBkGCSqGSIb3DQEJARYMbWFpbEBOZXh0VlBOMIGf
MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD3sbOuzdDLzc7s+crGuvNoDY3uLAZC
P5hKZcahOU7tDDfvTjCVz1nfgHlyvGwGHaZT7BZ+yHFRz7A7Cs1npxteivprNQNl
cLJTHo0FbExJN5uv5XI/FCqw+LOa2ascL65GiOAtEjjZAVUZED/hha8jbdMw/4Lt
QgJO3r2PHt5VpQIDAQABo4IBADCB/TAdBgNVHQ4EFgQUESntRq6bnfBA5TjsgRIr
Yx15bLcwgc0GA1UdIwSBxTCBwoAUESntRq6bnfBA5TjsgRIrYx15bLehgZ6kgZsw
gZgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEVMBMGA1UEBxMMU2FuRnJhbmNp
c2NvMRAwDgYDVQQKEwdOZXh0VlBOMREwDwYDVQQLEwhjaGFuZ2VtZTEQMA4GA1UE
AxMHTmV4dFZQTjERMA8GA1UEKRMIY2hhbmdlbWUxGzAZBgkqhkiG9w0BCQEWDG1h
aWxATmV4dFZQToIJALOIv+nmBVspMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF
BQADgYEAvzmT54kZgBtISwrNAKT5IDevnxg0nv1qBSTML8l602LZb0DHr+hUqeXL
sU3WI4L+Yktn8hCSCmmAduaCymmll3SMz95nOscWVQhGaPPXO7hd3bm/ZkKlq9+N
P4myTP3QRXms/qal9RGU0Zd6aV7sfS8kaaF4qV6adO+zFOL+9AE=
-----END CERTIFICATE-----
</ca>

--certs removed, ecrist

Re: PPTP Through OpenVPN

Posted: Sat Apr 06, 2013 1:05 pm
by ecrist
Don't post your certs to a public forum...

Re: PPTP Through OpenVPN

Posted: Sat Apr 06, 2013 6:33 pm
by koolooloos
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...

Re: PPTP Through OpenVPN

Posted: Tue Apr 09, 2013 11:03 am
by janjust
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