Re: port knocking
On 6/19/2018 10:04 PM, basti wrote:
I try use use port knocking and would be happy to do this in ssh config
To open the port I can use ProxyCommand with an wrapper script like
ProxyCommand bash -c 'wrapper.sh %h port1 port2 ... portX; nc %h %p'
so far so good.
But if I understand port knocking in the right way I must close the port
I havened found a way for this like post-connect in ssh config.
Has anyone a suggestion how it can be implemented?
Any reasons why you can't let your firewall handle the port nocking