Am I doing something wrong?

MsMeow

New Member
Jul 5, 2021
5
0
1
I have setup a OpenVPN container, I am trying to bridge to other containers/VM but it doesn't pull a new IP address from VPN it always stays at my real IP. I have tried a few other methods with the conf files and commands. nothing is working. can i get some help please
 
Some months ago a update changed something so that LXCs can't route anymore if ipv4 forwarding isn't enabled on the host. Not sure if that is still a thing but you could try to enable it and reboot and look if it helps.
 
ah okay. Interesting, and is that per node or per container/VM. sorry i am far too confused. I just installed proxmox lastnight
 
Last edited:
Upon rebuilding the whole system with a fresh install and a fresh container setup. it is still an issue. I did add the net.ipv4.ip_forward = 1 at the end of the file. still nothing when i try to curl ipconfig.me. after about a minute or two it gives me a disconnecting and restarts my console. i try again and get "curl: (6) Could not resolve host: ifconfig.me"

This is with my CT set as the WORKING openvpn CT IP as the gateway
 
update : I did get it to forward ipv4. but it keeps disconnecting after connection is made for some unknown reason