On Dec 13, 2010, at 6:14 PM, Dan Shoop wrote:

 < A bunch of bull pucky from the basement of his parents home. >

Anyway last week I learned that MacOSX client has all of the software
needed for running a VPN and found a tutorial that explained how to 
set the rascal up.

It noted the problem with dynamic dns addresses and suggested several
sites that can 'solve' the problem.

I decided that I would reinvent the wheel using the hardware at hand.

My external IP does not change very often so an instantaneous response
was not necessary.

My solution was simple and did not involve installing any background
daemons and registering for another account somewhere else in the
world.

A one line crontab entry:

0 6-22/4  * * * snmpwalk -Ov -OQ -c public router ipAdEntAddr | mail -s "IP 
Address" [email protected]

You can adjust the frequency of the mail to your paranoia level.

The cronjob sends the list of ip addresses of my airport extreme base station 
to one
of my mail accounts. It is perfectly clear which of the IPs is the external IP 
of the
router.

When the router ip changes a quick cut from the mail and paste on my off the 
local net devices will 
point the vpn client to the new address.

Again the url of the tutorial for setting up the VPN: 
http://blog.theilluminatedengineer.com/?p=136

The comments offer additional clues.

Task complete!

Jerry



_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to