Line 15: |
Line 15: |
| | | |
| *1. you must tell sshd what port to listen on in /etc/ssh/sshd_config and | | *1. you must tell sshd what port to listen on in /etc/ssh/sshd_config and |
− | *2. you must configure /etc/rc.d/init.d/masq to allow inbound traffic on your new sshd port | + | *2. (pre 7.1x) you must configure /etc/rc.d/init.d/masq to allow inbound traffic on your new sshd port |
| | | |
| As of SME 7.1.3 (and possibly from 7.1 onwards?) you can change this port completely by modifying configuration database entries (there is no longer an need to create a custom template). | | As of SME 7.1.3 (and possibly from 7.1 onwards?) you can change this port completely by modifying configuration database entries (there is no longer an need to create a custom template). |
Line 22: |
Line 22: |
| SME 7 keeps the firewall information in the 'configuration' database instead of in the 'masq' templates as was done on 5.6 - 6.0x; this howto demonstrates | | SME 7 keeps the firewall information in the 'configuration' database instead of in the 'masq' templates as was done on 5.6 - 6.0x; this howto demonstrates |
| | | |
− | *1. how to use a custom template fragment to modify sshd_config (Does not apply to SME 7.1.3) | + | *1. (pre 7.1) how to use a custom template fragment to modify sshd_config |
| *2. how to change the configuration database to open the desired non-standard port for your sshd server | | *2. how to change the configuration database to open the desired non-standard port for your sshd server |
| *3. how to use 'expand-template' to re-generate the new sshd_config and masq files | | *3. how to use 'expand-template' to re-generate the new sshd_config and masq files |
| *4. how to force the sshd and firewall services to recognize the new configurations | | *4. how to force the sshd and firewall services to recognize the new configurations |
| | | |
− | I have inserted the procedure for SME 7.1.3 at below, and left the old procedure in place for anyone still running 7.0 | + | I have inserted the procedure for SME 7.1.3 here and left the old procedure in place below for anyone still running 7.0 |
| | | |
| === Procedure: SME 7.1.3 === | | === Procedure: SME 7.1.3 === |