- Joined
- Feb 7, 2019
- Messages
- 40
- Reaction score
- 2
We install all 3CX systems with the Debian ISO on our own servers. By default port 22 is open for SSH. We would like to use another port for this. I know we can edit /etc/ssh/sshd_config for this.
But how do i change the iptables configuration? I noticed there is a brute force protection so somewhere this ISO has a firewall script in place to configure rules. I tried to enable ufw firewall but could not enable it. I also modified the iptables rules manually by closing port 22 and only opening the port for specific IP's but after a while the default rules were back again.
What is the proper way to modify the firewall rules so they stick? I suspect the /app/system_status/firewall_checker also does something to modify the rules.
But how do i change the iptables configuration? I noticed there is a brute force protection so somewhere this ISO has a firewall script in place to configure rules. I tried to enable ufw firewall but could not enable it. I also modified the iptables rules manually by closing port 22 and only opening the port for specific IP's but after a while the default rules were back again.
What is the proper way to modify the firewall rules so they stick? I suspect the /app/system_status/firewall_checker also does something to modify the rules.
