Community discussions

MikroTik App
 
User avatar
THG
Member
Member
Topic Author
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Port knocking from RouterOS

Wed Jan 05, 2011 3:26 pm

Port knocking from RouterOS would be useful. :)
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Port knocking from RouterOS

Wed Jan 05, 2011 4:29 pm

As long as you're using TCP packets you can use the built in telnet client with the first destination port as an argument. Cancel it, use telnet to connect to the next port. Rinse, repeat. Not pretty, but works in a pinch.
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Port knocking from RouterOS

Thu Jan 06, 2011 9:36 am

fetch also works with the advantage that it can send some "secret" text via URL. For example first fetch command can include a keyword in URL which tells the receiver which port to listen on for the second knock.
 
User avatar
THG
Member
Member
Topic Author
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: Port knocking from RouterOS

Fri Jan 07, 2011 12:56 pm

Thank you guys for the ideas. I was thinking about something like that but thought there might be some good idea to implement a port knocking client that could do this. For example, autonomously connecting VPN nodes to each other.

Edit: Added this as a feature request, please vote if you like the idea.

http://wiki.mikrotik.com/wiki/MikroTik_ ... mplemented

Who is online

Users browsing this forum: Amaan, Google [Bot], GoogleOther [Bot] and 183 guests