Page 1 of 1

Port nocking

Posted: Wed Mar 25, 2020 5:29 pm
by Matthiastik
good morning,

I have port knocking configured in my RB4011 and sometimes i can not login but after trying a bit later i can an log says
seeing me knocking 5 times
winbox login failed
knocking x times
login successful with my ip address

question
could it be that their internet service of the client is saturated when i try logging in and it is at times the case!?
could it be my internet service that is failing ?.

tried to make an QoS but that will only limit upload not download that i can not control and only ISP could.

Could my assumptions be correct ?

cheers,

Re: Port nocking  [SOLVED]

Posted: Wed Mar 25, 2020 7:39 pm
by jvanhambelgium
In theory this is possible.
You are using UDP or TCP knocks ?
Portknocks might not always be very robust, but for me it works fine.

My app on my phone that performs the knocking transmits the packets with some time in between. I've had a another app that was not working well.
So might be also dependant a bit...

Re: Port nocking

Posted: Wed Mar 25, 2020 7:53 pm
by Matthiastik
In theory this is possible.
You are using UDP or TCP knocks ?
Portknocks might not always be very robust, but for me it works fine.

My app on my phone that performs the knocking transmits the packets with some time in between. I've had a another app that was not working well.
So might be also dependant a bit...
Hi,

Thanks for the response ...

I am using TCP ..

Cheers,

Re: Port nocking

Posted: Wed Mar 25, 2020 8:08 pm
by anav
In theory this is possible.
You are using UDP or TCP knocks ?
Portknocks might not always be very robust, but for me it works fine.

My app on my phone that performs the knocking transmits the packets with some time in between. I've had a another app that was not working well.
So might be also dependant a bit...
What app do you use for port knocking??

Re: Port nocking

Posted: Wed Mar 25, 2020 9:25 pm
by jvanhambelgium
In theory this is possible.
You are using UDP or TCP knocks ?
Portknocks might not always be very robust, but for me it works fine.

My app on my phone that performs the knocking transmits the packets with some time in between. I've had a another app that was not working well.
So might be also dependant a bit...
What app do you use for port knocking??
I use "Port Knocker" on my Galaxy S6 , created by Ahsan Rabbani (symbol of a RJ45 socket).
On my phone & android release it proved stable & good.

Re: Port nocking

Posted: Wed Mar 25, 2020 11:52 pm
by Matthiastik
Keep it simple ...

Winbox or any web browser

cheers,

Re: Port nocking

Posted: Wed Mar 25, 2020 11:53 pm
by anav
Ahhh no IOS version, thanks.

Re: Port nocking

Posted: Thu Mar 26, 2020 8:43 am
by jvanhambelgium
Keep it simple ...

Winbox or any web browser

cheers,
For management that is true, however I use port-knocking to "open" my Mikrotik to other services I run at home (eg. Plex for video streaming, Logitech Media Server for my audio streaming etc, accessing my Splunk etc)
I do not perform any sort of router-management remotely.

Re: Port nocking

Posted: Thu Mar 26, 2020 2:13 pm
by anav
Keep it simple ...

Winbox or any web browser

cheers,
For management that is true, however I use port-knocking to "open" my Mikrotik to other services I run at home (eg. Plex for video streaming, Logitech Media Server for my audio streaming etc, accessing my Splunk etc)
I do not perform any sort of router-management remotely.
Nice!
I hope the keep it simple dude meant via VPN of some sort.

Re: Port nocking

Posted: Thu Mar 26, 2020 2:55 pm
by jvanhambelgium
Keep it simple ...

Winbox or any web browser

cheers,
For management that is true, however I use port-knocking to "open" my Mikrotik to other services I run at home (eg. Plex for video streaming, Logitech Media Server for my audio streaming etc, accessing my Splunk etc)
I do not perform any sort of router-management remotely.
Nice!
I hope the keep it simple dude meant via VPN of some sort.
Well "VPN" cannot always solve all scenario's because it is bound to only your phone/device on which the VPN client is installed.
eg. you visit friends and want to watch movie from your media-server, now it is easy : You simply connect to friends Wifi and performs port-knock sequence and then their public-IP is now allowed for several hours. Now they can go on their smartTV, launch Plex and we can see some movies. Or if they use a Chromcast-dongle they also can do it.

So yeah, many solutions, including VPN and/or port-knock possible depending a bit on the use-case.

Re: Port nocking

Posted: Thu Mar 26, 2020 6:36 pm
by anav
Nice!