DHCP & remote ssh logins

Martijn Lievaart m at rtij.nl
Sun Apr 29 17:10:28 CEST 2007

Phil Rhoades wrote:
> People,
> If iptables are setup to only accept ssh logins from particular IPs, how
> do people login when they are on the move and have a DHCP allocated IP?

Ssh to a known box with a fixed IP address and ssh to the target from there.

> I thought I could do this by sending a mail (from the remote DHCP IP)
> formatted in a particular way, to a particular user on the destination
> server which would then be processed, which would then cause a change to
> the iptables setup.  However, I assume other people have had to solve
> this problem and I don't want to re-invent wheels . .

Google for port knocking.


More information about the netfilter mailing list