Good day,
So I want to run a script that almost listens(?) for a port knock on the log (yet to be added, if possible)
But I’m having problems getting my find comment then remove to work whats wrong with my script?
I require 3 knocks to access the router.
Example:
knock1 = 20000
knock2 = 30000
knock4 = 10000
Most port scanners scan from 1 to 65535. That is why I require 2 knocks going up and then 1 knock below them, all within 3 seconds.
Then on your Firewall NAT rules that you want to deny access except after a successful knocking you add src-address-list=safe
Example:
add action=dst-nat chain=dstnat comment=“RDP in to .200 with Knock” dst-port=
3389 in-interface=ether1-WAN protocol=tcp src-address-list=Safe
to-addresses=192.168.1.200 to-ports=3389
whoops think i gave up on this and forgot i started this thread, anyway
What I want to do is when I port knock, say its called (kick-on-knock) on different ports eg, 1234, when that port has been knocked it want it run a script that deletes any existing established connections with name “Knocked-LO” on the address list then it will expire after say 1 or 2 seconds (1234)