WireGuard VPN tunnel successful but no connection

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
DD-WRT Novice

Joined: 21 Aug 2019
Posts: 2

PostPosted: Wed Aug 21, 2019 15:06    Post subject: WireGuard VPN tunnel successful but no connection Reply with quote
I made the WireGuard tunnel, it works, "traceroute -i oet1" responds, a traceroute is successfully completed via the WireGuard server. So I know for a fact that it is indeed connected to the WG host. However, I've spent the past 2 days looking at tutorials online as to how I can set up my firewall, startup scripts, etc... to allow my ethernet ports and wireless devices to use the WireGuard tunnel's IP. Everything has failed so far. Usually when I enter a firewall command or a startup script and restart the device, it gives me no connection, not even my WAN, everything dies. To fix it, I have to clear the NVRAM of the scripts, restart again, then I'll receive my usual WAN IP. Is there any way to get this to work?

Device info:
ASUS RT-AC1750B1 (AC66UB1 clone)
DD-WRT: ASUS RT-AC68U (works with AC66U_B1 model due to the same exact hardware specifications)

Welcome to the forum Smile

Are you setting up to a commercial provider or to your own WG server?

You can find the Wireguard setup guide here: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135

The problem at this moment is that there is no NAT and no default routing over the tunnel.
You need a script for that which is also available in the WireGuard Setup thread (second post)

I am currently testing an upcoming build which will not need a script any more so that should take your troubles away (I hope).
Unless I find any show stoppers I hope the build, with this incorporated, will come out the next week Smile

Joined: 21 Jan 2017
Posts: 1059
Location: Illinois Moderator

PostPosted: Fri Apr 10, 2020 4:36    Post subject: Reply with quote
PM EGC to look at this thread.
TIPS/TRICKS: Best QCA Wifi Settings | QCA WIFI WIKI | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | MCS Index Speeds & AX MCS | Correct QCA 5Ghz chnls to use | WIFI Chnl Freq WIKI | TFTP R7800 | Don't buy wifi 6

[R9000]43256 nightly (Main Router)
[EA8500]43158 nightly (Offsite)
[R7800]taking a nap
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare here napping)

Joined: 08 May 2018
Posts: 5661
Location: Texas, USA

PostPosted: Fri Apr 10, 2020 4:47    Post subject: Reply with quote
Moving this to Advanced networking.
Official Forum Rules
Official Forum Guidelines
New Moderators and Helpful information
RTFM/STFW - TL;DR is NOT an excuse.

E4200 v1 DD-WRT 43266 mega K4.x
R7000P DD-WRT 40270M kongac
R9000 DD-WRT 43266 std
R7800 DD-WRT 43266 std
E4200 v1 FreshTomato 2020.3
E4200 v1 FreshTomato 2020.4.development
R7000 FreshTomato 2020.4.development
E4200 v1 1.0.07.development
WRT3200ACM OpenWRT 18.06.8
WRT54GSv3 HyperWRT 2.2.x.development
Linux User #377467 counter.li.org / linuxcounter.net
“Suitcase” v5: 4x (2x Intel® E5645) on Intel® S5500HV
“Suitcase” v1: 4xQuad P6pro-200 SL25A SMP Proliant 7000s
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum