All of lore.kernel.org
 help / color / mirror / Atom feed
* Defaultroutepiercing
@ 2018-01-18 13:00 M. Dietrich
  2018-01-18 13:02 ` Defaultroutepiercing Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: M. Dietrich @ 2018-01-18 13:00 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

in case i want to use a vpn to route all my traffic through
the tunnel i have a kind of hen&egg problem: how does my
client contact the other side if i switch the default route? 

the demo script adds a route to the other side in the
moment of establishing the connection like this:

	163.172.161.0 via 192.168.0.1 dev wlan0

(assuming 192.168.0.1 is my router). this goes well as long as
the router (or the interface) doesnt change. this is fine for
most VPNs as they fail when the connection is lost.

wireguard is ment for the modern world and survives connection
drops. but the route must be reestablished afterwords in case
router or interface changed.

is there a solution to automate that already? i know this is
not really a wireguard topic as it has to be done near dhcp.

this should have been solved for android already or am i
wrong?

M. Dietrich

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-01-18 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 13:00 Defaultroutepiercing M. Dietrich
2018-01-18 13:02 ` Defaultroutepiercing Jason A. Donenfeld
2018-01-18 14:11   ` Defaultroutepiercing M. Dietrich
2018-01-18 14:20     ` Defaultroutepiercing Jason A. Donenfeld
2018-01-18 14:44       ` Defaultroutepiercing M. Dietrich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.