Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
OpenWRT/Setting up Wire Guard
(section)
From KB42
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Step 5: Setting up the VPN connection on an Android device=== 1. Download the WireGuard app from the Play Store or F-Droid or whatever is your preferred source of apps 2. Open the WireGuard app 3. Tap the plus icon and go to "Create from scratch" 4. Make up a name for your VPN connection 5. Tap "Generate" to generate yourself a public and private key 6. In the `Addresses` field, type `10.14.0.3/32` 7. Leave the `Listen Port` and `MTU` fields empty unless you need to change them for whatever reason 8. In the DNS servers field, either type the address of your home DNS server or use a DNS server of your choice (e.g. `1.1.1.1`) 9. Tap `Add Peer` 10. Paste the Public Key from the `/root/` directory of your OpenWRT device 11. Leave the `Pre-shared key` field blank 12. In the `Allowed IPs` field, type `0.0.0.0/0,::0` (You should add ::0 even if you aren't using IPv6, as this stops your device from leaking data when connected to IPv6 enabled sites.) 13. In the `Endpoint` field, type the public (WAN) IP address or domain name of your OpenWRT device, followed by a colon and the port number. For example: `69.65.164.12:1234` 14. In the `Persistent Keepalive` field, type `25` 15. Save the connection
Summary:
Please note that all contributions to KB42 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
KB42:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
DONATE
Wiki tools
Wiki tools
Special Pages
Categories
Import Pages
Cargo data
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs