Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 15 November 2024, 08:51:51 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  SSH on non-standard external port
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SSH on non-standard external port  (Read 8350 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.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com