SSH change port

General support for the Pi-Star System
Post Reply
PE1GFP
Posts: 3
Joined: Sun Sep 30, 2018 8:06 am

SSH change port

Post by PE1GFP » Wed Oct 10, 2018 7:20 am

Hi All,

I'm trying to change my SSH default port to 222. Changing sshd_config normally works for me but not this time. Maybe a firewall issue?

Please help to complete this mission.

'73 de PE1GFP

PE1GFP
Posts: 3
Joined: Sun Sep 30, 2018 8:06 am

Re: SSH change port

Post by PE1GFP » Wed Oct 10, 2018 9:54 am

Solved!

Being a newbie with pistar I didn't realise the obvious: use iptables for a firewall. Thank you MW0MWZ for making things not too complicated.

'73 de PE1GFP

w7efs
Posts: 78
Joined: Sun Apr 22, 2018 4:26 pm

Re: SSH change port

Post by w7efs » Wed Oct 10, 2018 7:20 pm

Of course you'll also want to review http://wiki.pistar.uk/Adding_custom_fir ... to_Pi-Star

PE1GFP
Posts: 3
Joined: Sun Sep 30, 2018 8:06 am

Re: SSH change port

Post by PE1GFP » Thu Oct 11, 2018 1:15 pm

Ah,

For if you get tired of writing your rules over and over again after an e.g. update.

Thanks! I was looking for that.

Best '73 de PE1GFP

Post Reply