[SOLVED] Remote access is disabled in CT

chencho

Member
Nov 25, 2010
48
2
8
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:

Code:
netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:7850            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp6       0      0 :::33060                :::*                    LISTEN
tcp6       0      0 :::7850                 :::*                    LISTEN
tcp6       0      0 ::1:25                  :::*                    LISTEN
Code:
sudo ufw status
Status: inactive
Code:
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!
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
743
79
28
hi,

what's your networking setup like? does each CT have their own public IP?
if not, then you will have to portforward.
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
1,998
198
63
I don't see a running ssh server in your `ss -tlnp` output?
does the container have ssh installed and configured to start up?
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
1,998
198
63
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!