Can I use it to FIX my internet connection?

Guus Sliepen guus at tinc-vpn.org
Tue Jun 21 11:18:44 CEST 2011


On Sun, Jun 19, 2011 at 10:56:18AM -0500, Rob Townley wrote:

> Does anyone have a script for a travelling laptop that will use
> numerous dhcp assigned default gateways from numerous locations?
> 
> i could script the above, but then when their machine connects at
> another coffee shop, the default gateway would be overwritten with the
> coffee shop default gateway.
> 
> Can /etc/tinc/NETNAME/subnet-up  be used to detect a change in the
> default gateway?

There is an example here:

http://tinc-vpn.org/examples/redirect-gateway/

Although if your default gateway changes before tinc detects that the server is
down, the scripts won't work correctly. However, the scripts use two /1 routes
so they always have a higher priority than a default route.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20110621/c0bbe69c/attachment.pgp>


More information about the tinc mailing list