Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
OpenWRT WireGuard VPN Server Tutorial
(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== # Download the WireGuard app from the Play Store or F-Droid or whatever is your preferred source of apps # Open the WireGuard app # Tap the plus icon and go to "Create from scratch" # Make up a name for your VPN connection # Tap "Generate" to generate yourself a public and private key # In the Addresses field, type 10.14.0.3/32 # Leave the Listen Port and MTU fields empty unless you need to change them for whatever reason # 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) # Tap Add Peer # Paste the Public Key from the /root/ directory of your OpenWRT device # Leave the Pre-shared key field blank # 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.) # 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 # In the Persistent Keepalive field, type 25 # 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