Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 29 December 2024, 11:02:32 am

Login with username, password and session length

Download the latest community FREE version  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  SSH on non-standard external port
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SSH on non-standard external port  (Read 9407 times)
twsnnva
Jr. Member
*
Offline Offline

Posts: 1


« 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!
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #1 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
Logged
CEMENDES
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 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
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com