I currently have the following setup:
Win Server 2008
-------> Mint 16 Cinnamon VM tunneled through external VPN (using OpenVPN)
---------------> Webserver inside for local network access
Is there any possible way to access that web server using my external ISP ip address when the webserver is tunneled behind a VPN... without needing to port forward on the VPN side?
As an example, Would it be possible to host a webserver on another VM or the host OS which redirects to or acts as a pointer (... like mod_rewrite or redirect?) to that local server, so it can be accessed externally without needing to have access to configuring firewall rules on the VPN server?
-----> VM 1, VPN + Webserver, local adaptor IP is 192.168.1.2 (home network), VPN tunnel IP is 10.x.x.x, all external traffic routed though the VPN.
--------------> VM 2, local adaptor IP is 192.168.1.3, Webserver running on port 80, points to page hosted on 192.168.1.2:80 and allows for external viewing via port forwarding local router.
Currently, all devices on the local network can access this webserver fine.
Failing that idea, is there anyway to force certain programs to only send traffic over specific interfaces (ie, the local ethernet interface), or forcing certain ports to route through the ISPs gateway instead of the VPNs (on an OS level).
Appreciate your feedback.