Re: Script to temporarily "open" port
On Tuesday 28 December 2004 17:51, email@example.com
> Or you could just set up knockd on the box. It will be a lot safer since
> the port will only be opened when you request it with a particular knock
> sequence. With a cron job that port will end up being open to the world
> at particular times, regardless of who initiated the request.
An intriguing little package, is it not? Just installed it. Now ...
It gives you one example for ssh (which is also quite useful) but I do not
understand those 7000,8000,90000 numerical sequences nor how I would simply
call a set [...SMTP] for port 25 and what to change.
The only thing sort of clear are the iptables commands being executed.
Also, if I am enabling a "periodic/sporadic" email server on my box, who is
the knocker? I am "opening" the port to receive email. I do not need to do
this to send.