I have a home server that I want to expose to the Internet. All ISPs in my country provide static IP addresses to registered business only (not to home customers).
I'm thinking about renting a VPS and then forward ports to my home server. I have thought of the following approaches, but I'm not sure which one is better:
Rent a VPS with two network interface and two IP addresses. Use VPN to connect from my home server to one network interface, and bridge it to the second network interface.
Rent a VPS with one network interface. Use VPN to connect from my home server to it, then port-forward the ports I want.
Same as the previous one, but using SSH for VPN.
A side question, is there a term for this kind of server-to-server VPN? Whenever I search for information about VPN, I find information about using VPN for privacy instead.
Another side question, is any VPN protocol (IPSec, TLS, etc) more suitable for this kind of server-to-server VPN?
Edit:
- I can't use Dynamic DNS because my ISP uses CGNAT.
- I want to host OwnCloud on my own server. Running it (and hosting the data) on the VPS is not an option.