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 4: Setting up the WireGuard interface=== 1. Go into LuCI and head to `Network>Interfaces>Add New Interface` 2. Set the name of the new interface as `wg0` 3. Set the protocol to `WireGuard VPN` 4. Click Submit 5. Paste the private key you got from Step 3 into the `Private Key` field 6. Set the listen port to `1234` 7. In the `IP Addresses` field, type `10.14.0.1/24` 8. Go to the `Firewall Settings` tab and assign the interface to your LAN zone if it's not automatically been assigned. This will enable you to access your LAN devices when you're connected to your VPN. If you want to keep your devices seperate, you can create another Firewall zone specifically for the WireGuard Interface. 9. Click Save & Apply
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