No NIC listed in container - VPN client doesn't see internet connection

grandprix104

New Member
Aug 10, 2023
1
0
1
I have an ubuntu 23.04 container that I installed xfce4 and xrdp on for remote GUI access. This works great.
I need to run my VPN client in this container and have installed it.
The container has internet access.
The desktop environment lists no network connections available.
Because there are no NICs or vNICs listed, the VPN client does not think their is an internet connection and fails to connect.
Adding a network connection via the desktop GUI does nothing.
The same issue exists in both privileged and unprivileged containers.

How do I get the xfce desktop environment to show a NIC so that the VPN client can use it?

For reference, I am far more familiar with HyperV and Vsphere enterprise environments. New to Proxmox and containers.
 
I have an ubuntu 23.04 container that I installed xfce4 and xrdp on for remote GUI access. This works great.
I need to run my VPN client in this container and have installed it.
The container has internet access.
The desktop environment lists no network connections available.
Because there are no NICs or vNICs listed, the VPN client does not think their is an internet connection and fails to connect.
Adding a network connection via the desktop GUI does nothing.
The same issue exists in both privileged and unprivileged containers.

How do I get the xfce desktop environment to show a NIC so that the VPN client can use it?

For reference, I am far more familiar with HyperV and Vsphere enterprise environments. New to Proxmox and containers.
Ubuntu uses netplan for network configuration, so you might have to make a basic setup which is consistent to the network setup as provided by the LXC. See https://ubuntu.com/server/docs/network-configuration as a starting point.