Linux Netfilter discussions
 help / color / mirror / Atom feed
* DHCP & remote ssh logins
@ 2007-04-29 13:33 Phil Rhoades
  2007-04-29 15:10 ` Martijn Lievaart
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Rhoades @ 2007-04-29 13:33 UTC (permalink / raw)
  To: netfilter

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?

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 . .

Suggestions appreciated!

Regards,

Phil.
-- 
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW      2001
Australia
Fax:     +61:(0)2-8221-9599
E-mail:  phil@pricom.com.au



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DHCP & remote ssh logins
  2007-04-29 13:33 DHCP & remote ssh logins Phil Rhoades
@ 2007-04-29 15:10 ` Martijn Lievaart
  0 siblings, 0 replies; 2+ messages in thread
From: Martijn Lievaart @ 2007-04-29 15:10 UTC (permalink / raw)
  To: phil; +Cc: netfilter

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.

HTH,
M4



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-29 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29 13:33 DHCP & remote ssh logins Phil Rhoades
2007-04-29 15:10 ` Martijn Lievaart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox