I know there are plenty of questions on Super User about this topic already out there, but all of them are for more advanced users, or they are unclear to me.
I found on Reddit that you supposedly could do openvpn --config vpn1.ovpn
and then openvpn --config vpn2.ovpn
, but I've had no success. I'm pretty sure this type of connection only passes the traffic through vpn2
and it has no "instructions" to pass it through vpn1
.
I am aware of the method of connecting to a VPN through a virtual machine, but I'm looking for a method that doesn't involve that.
Edit:
I'm trying to connect my computer to a VPN server I don't own, and route the traffic through that one to another VPN server I don't own. Basically like this:
MY COMPUTER ----------> VPN1 ----------> VPN2 ----------> Internet
Is this even possible without having another device of your own to route through? I know it's possible to do this on one physical machine using a virtual machine, like I mentioned earlier, but is this possible with a single physical device?
Edit 2:
One of my config files (with remote IP and certificates censored out):
dev tun
proto udp
remote 70.**.**.*** 1279
;http-proxy-retry
;http-proxy [proxy server] [proxy port]
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
#auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
blah blah blah
...
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
blah blah blah
...
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
blah blah blah
...
...
-----END RSA PRIVATE KEY-----
</key>
The other server config has exactly the same setup except for the remote IP. Even the certificates are the same (I'm not a tech wiz, so I don't know if that's normal or not...)