Re: port knocking
On 6/19/2018 10:30 PM, basti wrote:
On 19.06.2018 22:24, john doe wrote:
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
I open the port with iptables, and than? can you please explain?
I can only give you this:
From what I understand you don't need to close the ports after connection.