EFW Support

Support => General Support => Topic started by: twsnnva on Thursday 27 October 2011, 03:36:18 am



Title: SSH on non-standard external port
Post by: twsnnva on Thursday 27 October 2011, 03:36:18 am
Is there a way to configure efw 2.4.1 to listen for external SSH connections on a port other than 22? Thanks!


Title: Re: SSH on non-standard external port
Post by: mrkroket on Thursday 27 October 2011, 08:01:09 am
For access from RED you can simply create porforwarding rules, that listen on X port and send to port 22.

For a hard change of the ssh listening port, edit the /etc/ssh/sshd_config.tmpl file


Title: Re: SSH on non-standard external port
Post by: CEMENDES on Monday 31 October 2011, 12:31:22 pm
He also needs to change the port inside the inputfrw/ssh conf file.

/etc/firewall/inputfrw/ssh.conf.tmpl

Then restart ssh
/usr/local/bin/restartssh.py

-Eduardo