- Joined
- Aug 24, 2019
- Messages
- 96
- Reaction score
- 19
Hi All,
We have a new customer that has an on-premise 3CX Server running V18 on Debian 10 (it was fresh installed as V18).
In order to get remote SSH access, we have requested a port forward to Port 22, but apparently that is already in use, and they can't forward, say, Port 22222 (external) to Port 22 on the 3CX Server (has to be the same port both sides).
I figured we would have the 3CX Server accept an SSH connection on both Port 22 and Port 22222, so we have added that additional port into /etc/ssh/sshd_config.
I have checked that the server is listening:
However, I can't connect to Port 22222 using SSH, which I suspect is due to the NFTables Firewall, but I am not familiar with NFTables.
Question:
How can I add an additional 'rule' to NFTables to allow connections through to the SSH server?
Thanks,
Alan.
We have a new customer that has an on-premise 3CX Server running V18 on Debian 10 (it was fresh installed as V18).
In order to get remote SSH access, we have requested a port forward to Port 22, but apparently that is already in use, and they can't forward, say, Port 22222 (external) to Port 22 on the 3CX Server (has to be the same port both sides).
I figured we would have the 3CX Server accept an SSH connection on both Port 22 and Port 22222, so we have added that additional port into /etc/ssh/sshd_config.
I have checked that the server is listening:
Code:
# ss -tlnp | grep -E "22|22222"
LISTEN 0 128 0.0.0.0:22222 0.0.0.0:* users:(("sshd",pid=516,fd=3))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=516,fd=5))
LISTEN 0 128 [::]:22222 [::]:* users:(("sshd",pid=516,fd=4))
LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=516,fd=6))
However, I can't connect to Port 22222 using SSH, which I suspect is due to the NFTables Firewall, but I am not familiar with NFTables.
Question:
How can I add an additional 'rule' to NFTables to allow connections through to the SSH server?
Thanks,
Alan.