WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* Tether Wireguard VPN over WiFi
@ 2018-07-07 14:09 Stefan Agner
  2018-07-07 18:50 ` Denis Kisselev
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Agner @ 2018-07-07 14:09 UTC (permalink / raw)
  To: WireGuard mailing list

Hi,

Is tethering the VPN tunnel over WiFi/USB possible?

It seems not to have come up here previously so I thought I bring it up.
When using the Android WiFi Hotspot functionality on a (unrooted) Nexus
6P it seems to only tether 4G... Is there a way to tether the Wireguard
tunnel?

--
Stefan

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

* RE: Tether Wireguard VPN over WiFi
  2018-07-07 14:09 Tether Wireguard VPN over WiFi Stefan Agner
@ 2018-07-07 18:50 ` Denis Kisselev
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kisselev @ 2018-07-07 18:50 UTC (permalink / raw)
  To: Stefan Agner, WireGuard mailing list

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

When I last looked into this, it wasn’t possible to due to limitations in Android.



Basically, the tethering and VPN systems each assume that they’re the only ones that need to manage network routes so they stomp over each other’s routing tables (VPN breaks routing for tethering, tethering breaks routing for VPN).



Someone on a forum claimed that (if you’re rooted) you can manually setup the iptables rules to make both work, but that’s not really a reliable solution.





________________________________
From: WireGuard <wireguard-bounces@lists.zx2c4.com> on behalf of Stefan Agner <stefan@agner.ch>
Sent: Saturday, July 7, 2018 7:09:23 AM
To: WireGuard mailing list
Subject: Tether Wireguard VPN over WiFi

Hi,

Is tethering the VPN tunnel over WiFi/USB possible?

It seems not to have come up here previously so I thought I bring it up.
When using the Android WiFi Hotspot functionality on a (unrooted) Nexus
6P it seems to only tether 4G... Is there a way to tether the Wireguard
tunnel?

--
Stefan
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.zx2c4.com%2Fmailman%2Flistinfo%2Fwireguard&data=02%7C01%7C%7C17e9001bce084e5bd31c08d5e41342bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636665693728883474&sdata=vep3fp3QsvzcVujqq%2BUS%2Fw%2BPUWvqXEqrsEPqr%2B4hbJA%3D&reserved=0

[-- Attachment #2: Type: text/html, Size: 3413 bytes --]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=utf-8">
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
	{font-family:"Cambria Math"}
@font-face
	{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
	{color:blue;
	text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
	{color:#954F72;
	text-decoration:underline}
.x_MsoChpDefault
	{}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
	{}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">When I last looked into this, it wasn’t possible to due to limitations in Android.</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">Basically, the tethering and VPN systems each assume that they’re the only ones that need to manage network routes so they stomp over each other’s routing tables (VPN breaks routing for tethering, tethering breaks routing for VPN).</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">Someone on a forum claimed that (if you’re rooted) you can manually setup the iptables rules to make both work, but that’s not really a reliable solution.</p>
<p class="x_MsoNormal">&nbsp;</p>
<p class="x_MsoNormal">&nbsp;</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> WireGuard &lt;wireguard-bounces@lists.zx2c4.com&gt; on behalf of Stefan Agner &lt;stefan@agner.ch&gt;<br>
<b>Sent:</b> Saturday, July 7, 2018 7:09:23 AM<br>
<b>To:</b> WireGuard mailing list<br>
<b>Subject:</b> Tether Wireguard VPN over WiFi</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
Is tethering the VPN tunnel over WiFi/USB possible?<br>
<br>
It seems not to have come up here previously so I thought I bring it up.<br>
When using the Android WiFi Hotspot functionality on a (unrooted) Nexus<br>
6P it seems to only tether 4G... Is there a way to tether the Wireguard<br>
tunnel?<br>
<br>
--<br>
Stefan<br>
_______________________________________________<br>
WireGuard mailing list<br>
WireGuard@lists.zx2c4.com<br>
<a href="https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.zx2c4.com%2Fmailman%2Flistinfo%2Fwireguard&amp;data=02%7C01%7C%7C17e9001bce084e5bd31c08d5e41342bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636665693728883474&amp;sdata=vep3fp3QsvzcVujqq%2BUS%2Fw%2BPUWvqXEqrsEPqr%2B4hbJA%3D&amp;reserved=0">https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.zx2c4.com%2Fmailman%2Flistinfo%2Fwireguard&amp;data=02%7C01%7C%7C17e9001bce084e5bd31c08d5e41342bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636665693728883474&amp;sdata=vep3fp3QsvzcVujqq%2BUS%2Fw%2BPUWvqXEqrsEPqr%2B4hbJA%3D&amp;reserved=0</a><br>
</div>
</span></font>
</body>
</html>

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-07 14:09 Tether Wireguard VPN over WiFi Stefan Agner
2018-07-07 18:50 ` Denis Kisselev

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox