Hi,
I would like to do two things simultaneously with my home server (Ubuntu 14.04.2) using openvpn:
1) Connect to my home server remotely, and be able to access my home network as if I were using a computer through my router at home; and also
2) Automatically connect to a vpn service provider (e.g., PIA, Torguard, IVPN, Mullvad, etc.) so that certain programs on my home server run through the vpn service provider's openvpn tunnel.
The end game: I connect remotely to the openvpn server running on my home server, and then obtain my home dynamic ip address provided by my ISP on the remote client's machine (say, at starbucks on my laptop), while certain programs on the home server connect through the vpn service provider through an openvpn client.
Is this even possible? If so, how should I configure such a setup? I've looked in multiple places with very little luck.
I understand that having a dynamic ip includes complications making a remote connect to my server more difficult. I've followed
this guide to setup dynamic dns using ddclient. However, when ddclient checks for the ip of my home server, the vpn service provider's ip is used instead of the one provided by my isp.
Help :? And thank you :!:
P.S. I am an ignorant noob with superficial knowledge of openvpn.