Help with Port Knocking

Murus
Post Reply
amstel78
Posts: 4
Joined: Thu Jan 14, 2016 1:53 am

Help with Port Knocking

Post by amstel78 » Thu Jan 14, 2016 2:01 am

I've set up Murus 1.3.6 on my Mac running 10.11.1. Everything seems to work perfectly well except for Port Knocking. I've configured my SSH (port 22) for knocking, and the Murus Port Knocker will not open the port.

As I'm not very well versed in network configuration, I was wondering if someone could clarify the following:

Do I need to configure port forwarding using the below ports in my router (Airport Extreme)? For instance, in Murus I've configured the following:

Port 1: 12345
Port 2: 23456
Port 3: 34567

Knocks:
Port 1: 3
Port 2: 4
Port 3: 6
Port 1: 7

Using Murus port knocking app with the settings above, the port will not open. It's not seen at all.

In airport extreme, I've only got Port 22 and 5900 routed to my server. Do I have to open the 3 ports above for Murus to even see the knocks?

Many thanks in advance for any assistance.

hany
Posts: 445
Joined: Wed Dec 10, 2014 5:20 pm

Re: Help with Port Knocking

Post by hany » Thu Jan 14, 2016 1:45 pm

In airport extreme, I've only got Port 22 and 5900 routed to my server. Do I have to open the 3 ports above for Murus to even see the knocks?
Yes, you have to open the 3 "keys" ports in your router. To reach your SSH from outside you need to knock the 3 ports in order to open access to port 22. For this reason your Mac's "keys" ports must be public and thus you should set them in your airport extreme.
Once done it will work :)

amstel78
Posts: 4
Joined: Thu Jan 14, 2016 1:53 am

Re: Help with Port Knocking

Post by amstel78 » Thu Jan 14, 2016 3:41 pm

Thank you Hany. I will try that.

plcda
Posts: 1
Joined: Wed Oct 18, 2017 7:38 pm

Re: Help with Port Knocking

Post by plcda » Wed Oct 18, 2017 7:55 pm

Any one an idea for iOS connection with Knocking enabled ? I can't find a single app that works on mobile with the Murus knocking, it seems like a different implementation.

hany
Posts: 445
Joined: Wed Dec 10, 2014 5:20 pm

Re: Help with Port Knocking

Post by hany » Wed Nov 29, 2017 9:46 pm

you can use a terminal emulator for iOS and ssh/telnet

Post Reply