Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wuruxu committed Aug 21, 2019
1 parent f726bc7 commit 0123acb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# setup wireguard @ ddwrt

* install latest ddwrt firmware, [BS build](https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2019/07-04-2019-r40189/) is recommended
* install latest ddwrt firmware, [BS build](https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2019/08-21-2019-r40723/) is recommended
* setup wireguard endpoint by following [QuickStart@WireGuard](https://www.wireguard.com/quickstart/)
* add peer config in ddwrt ![SETUP/TUNNEL](images/eop-tunnel.asp.png)
* add a VAP (wl1.1 192.168.18.1) in Wireless_Basic.asp ![VAP](images/vap.png)
Expand All @@ -11,7 +11,9 @@ ip route add table 100 default via 192.168.2.1 dev oet1
iptables -t nat -A POSTROUTING -s 192.168.18.0/24 -o oet1 -j MASQUERADE
```

* Services -> Services and ensure that DNSMasq is enabled, Enter the following into Additional DNSMasq Options: **dhcp-option=wl1.1,6,8.8.8.8,1.1.1.1** ![DNSMASQ](images/dnsmasq.png)
* Services -> Services and ensure that DNSMasq is enabled, in Dnsmasq section, Enter the following Additional DNSMasq Options: **dhcp-option=wl1.1,6,8.8.8.8,1.1.1.1** ![DNSMASQ](images/dnsmasq.png)

* Setup -> Networking, in DHCPD section add 'Multiple DHCP Server' for VAP interface

Now after your mobile phone connect to VAP, all traffic should forward to wireguard oet1

Expand Down

0 comments on commit 0123acb

Please sign in to comment.