[SOLVED] Remote access is disabled in CT


Well-Known Member
Nov 25, 2010
I have 3 CT.

If i open in ssh terminal proxmox server and then pct enter, all works fine.

I can login in MySQL locally too.

But when i try to access over ssh outside proxmox server, it give me a connection refused. And in MySQL too (obviously, with % and grant permissions).

I have not firewall into CT; normally i use CSF Firewall&Config, but it's disabled

Proxmox firewall is disabled too.

My listen connections:

netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0  *               LISTEN
tcp        0      0  *               LISTEN
tcp        0      0 *               LISTEN
tcp        0      0  *               LISTEN
tcp6       0      0 :::33060                :::*                    LISTEN
tcp6       0      0 :::7850                 :::*                    LISTEN
tcp6       0      0 ::1:25                  :::*                    LISTEN

sudo ufw status
Status: inactive

csf -x
csf and lfd have been disabled, use 'csf -e' to enable

It's like each CT have a firewall enabled, but i cannot find it!

what's your networking setup like? does each CT have their own public IP?
if not, then you will have to portforward.
I don't see a running ssh server in your `ss -tlnp` output?
does the container have ssh installed and configured to start up?
hm - then check the logs - or in that case it's more likely that you will see something with tcpdump (on port 7850)
* try dumping in the container and on the bridge

I hope this helps


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!