I have Proxmox VE installed and have an Ubuntu 13.10 OpenVZ container running (192.168.1.106 on my lan).
I want to be able to access the container using the local address, BUT I also want all outgoing traffic destined for outside my lan to go through a VPN.
I've found some tutorials online, but they mostly deal with sending ALL traffic through the VPN without having another network interface for my local traffic. If it matters, I'm using OpenVPN with the install script from Private Internet Access (PIA). I can provide the OpenVPN configuration files here if it matters.
Even after following all the instructions from tutorials (changing the IPTABLES in the vz.conf, making sure 'tun' is loaded on the host and changing the configuration of the container to use the same block) but I'm still having issues running 'openvpn ./config.conf'
I want to be able to access the container using the local address, BUT I also want all outgoing traffic destined for outside my lan to go through a VPN.
I've found some tutorials online, but they mostly deal with sending ALL traffic through the VPN without having another network interface for my local traffic. If it matters, I'm using OpenVPN with the install script from Private Internet Access (PIA). I can provide the OpenVPN configuration files here if it matters.
Even after following all the instructions from tutorials (changing the IPTABLES in the vz.conf, making sure 'tun' is loaded on the host and changing the configuration of the container to use the same block) but I'm still having issues running 'openvpn ./config.conf'