Hello everyone:
I have created an lcx as indicated in the tutorial to be able to host a VPN. I have assigned an Additional IP to it, to be able to directly access the VPN from the Internet.
I have several VPS and I want to be able to access them internally from the VPN, but only access the necessary services from the outside, to keep the server as secure as possible.
I have managed to connect to the VPN, but once connected I lose Internet connection and also, I do not have access to my VPS internally.
My interface configuration is:
One more thing, in the main PROXMOX server I have 2 Bridges:
vmbr0 (Public IP)
vmbr1 (Private IP)
In the LXC of the VPN I have 2 net devices:
eth0 (Public IP) with vmbr0
eth1 (Private IP) with vmbr1
Can you help me with the configuration? What reason prevents me from having the Internet connected to the VPN and at the same time not seeing the local VPS?
I have created an lcx as indicated in the tutorial to be able to host a VPN. I have assigned an Additional IP to it, to be able to directly access the VPN from the Internet.
I have several VPS and I want to be able to access them internally from the VPN, but only access the necessary services from the outside, to keep the server as secure as possible.
I have managed to connect to the VPN, but once connected I lose Internet connection and also, I do not have access to my VPS internally.
My interface configuration is:
Code:
auto lo
iface lo inet loopback
#auto eth0
iface eth0 inet static
address 87.91.178.217/32
post-up ip route add 48.105.83.244 dev eth0
post-up ip route add default via 48.105.83.244
pre-down ip route del 48.105.83.244 dev eth0
pre-down ip route del default via 48.105.83.244
#auto eth1
iface eth1 inet static
address 10.8.0.2/27
gateway 10.8.0.1
One more thing, in the main PROXMOX server I have 2 Bridges:
vmbr0 (Public IP)
vmbr1 (Private IP)
In the LXC of the VPN I have 2 net devices:
eth0 (Public IP) with vmbr0
eth1 (Private IP) with vmbr1
Can you help me with the configuration? What reason prevents me from having the Internet connected to the VPN and at the same time not seeing the local VPS?
Last edited: