WireGuard is almost certainly the best connection option that Streisand provides. This is due to its incredible performance, class-leading cryptography, and many, many other benefits.
WireGuard is available on Linux, and cross-platform and portable userspace implementations can be downloaded for Android and macOS.
An experimental configuration for OpenWrt/LEDE 17.01.4 (or later) is also available.
Move the client configuration file into the correct directory:
sudo sh -c 'umask 077; mkdir -p /etc/wireguard; cat > /etc/wireguard/brother-various.conf' < ~/Downloads/brother-various.conf
(Ubuntu/Debian) For Ubuntu and Debian users you will need to install the openresolv
package:
sudo apt-get install openresolv
Use the wg-quick
utility to bring up the WireGuard interface:
sudo wg-quick up brother-various
For Linux systems using systemd you can also enable Wireguard at boot:
'sudo systemctl enable wg-quick@brother-various.service'
You should be good to go! You can verify that your traffic is being routed properly by looking up your IP address on DuckDuckGo. It should say Your public IP address is 52.15.254.140.
To stop routing your traffic through WireGuard, simply bring the interface back down:
sudo wg-quick down brother-various
Each client configuration profile includes a DNS
command that uses resolvconf to direct DNS traffic to the dnsmasq server that is available via the WireGuard encrypted interface at 10.192.122.1
. Although resolvconf is a common utility, you may need to use PostUp
/PostDown
with a different command for your distribution or particular network configuration.
WARNING: The macOS WireGuard client is in early stages of development and still considered experimental. It may be unstable or buggy.
Install the WireGuard tools using Homebrew:
brew install wireguard-tools
Downloads
folder. (If that's not the case, modify it accordingly):sudo sh -c 'umask 077 && mkdir -p /etc/wireguard/ && cat ~/Downloads/brother-various.conf > /etc/wireguard/brother-various.conf'
Use the wg-quick
utility to bring up the WireGuard interface:
sudo wg-quick up brother-various
You should be good to go! You can verify that your traffic is being routed properly by looking up your IP address on DuckDuckGo. It should say Your public IP address is 52.15.254.140.
You can check the vpn status at any time using wg
:
sudo wg show
To stop routing your traffic through WireGuard, simply bring the interface back down:
sudo wg-quick down brother-various
As an unsupported experiment, these profiles are available for routers running OpenWrt. Support requires OpenWrt/LEDE 17.01.4 or later; OpenWrt Chaos Calmer is too old.
OpenWrt devices run Linux, but they're managed through a centralized configuration system called UCI. Most OpenWrt devices have a web admin interface called LuCI, which hides the complexity of UCI. These WireGuard profiles can be installed through a shell, or through the LuCI web interface.
These profiles will replace the existing Internet connection. As a result, you should only install them when you're connected to the router's WiFi or LAN network interface. If you're logged in remotely, you may be locked out.
Make sure these software packages are installed: luci-app-wireguard
and luci-proto-wireguard
. To install those packages from the web UI:
wireguard
into the Find package box.luci-app-wireguard
; go back to step 2 to install luci-proto-wireguard
as well.(If you're managing your router without the LuCI user interface, you can instead opkg update; opkg install kmod-wireguard wireguard-tools
.)
Experienced users can install these profiles from the router's SSH command line; place one in a file, and run it as a shell script.
There's also a simple way to install via the web interface. The LuCI System:Startup web page contains a Local Startup text box. It's a shell script which is run each time the router boots up. These WireGuard profiles are designed to be pasted into the Local Startup box, replacing the existing contents. (Make sure to delete any exit 0
lines.)
The next time the router reboots, the script will be run. It removes itself automatically. Check the Local Startup box for the status result.
poem_walk
will be createdIf you don't like the DNS default, you can change DNS behavior on the Network:DHCP and DNS LuCI page. Put the DNS server address in DNS forwardings. On the Resolv and Hosts Files tab, leave Ignore resolve file checked, unless you want to use your upstream DNS. (You probably don't.)
If you know you aren't behind a NAT device, edit the WireGuard interface to set the keepalive to 0.