lxc ssh out (9.1.9)

japapic

New Member
Apr 4, 2026
2
0
1
Hi all,


I have an Ubuntu LXC container running on Proxmox. There is no firewall enabled on the container, and I can SSH into the LXC without any issue.


The problem is that when I try to SSH from the LXC to a server outside of Proxmox, the connection times out.


What I verified so far:


  • The LXC can ping the remote server successfully.
  • From other devices outside the Proxmox host, I can SSH to that same server with no problem.
  • DNS resolution is working correctly.

So it seems like only outbound SSH traffic from the LXC is failing.


Has anyone seen this behavior before or have any idea what I should check next?


Any help would be greatly appreciated.


Thanks!
 
Hi,

first of all, do you have any SDN configuration on the PVE host or is the Container just connected to the default bridge of the host?
If both are on the same bridge: Does ssh work from the proxmox host to the outside server?
Otherwise, could you maybe share /etc/network/interfaces.d/sdn and /etc/network/interfaces of your Proxmox host.