Wireguard dropping, port?

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


Joined: 23 Apr 2020
Posts: 101

PostPosted: Wed Jan 04, 2023 13:44    Post subject: Wireguard dropping, port? Reply with quote
HI,

I'M using wireguard with torguard provider since a while, it is pretty stable but since a month, sometimes the wifi drops, and it seems to be in link with WG. One thing I see, torguard used port 51820 but now they used many ports, if I change my country, I got new port. Also their MTU is 1390.

ie: 54014 port / toronto

Do you think I need to use that port or I would be ok to use 51820?

thanks
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Wed Jan 04, 2023 14:34    Post subject: Reply with quote
The endpoint port, i.e. the port of the Torguard server, is unrelated to your own listen port.

When you contact the server you specify on which port you are listening and the server sends back on that port.

So you can use the same port but that should not be necessary.

MTU also should not be a problem as far as disconnections are concerned, it can be a problem with throughput, slow loading, problems with streaming media etc.
So if they specify to use an MTU of 1390 I would follow their advice.

Nowadays I would not go over 1420 (or 1412 if you have PPPoE).

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 707
Location: Earth

PostPosted: Wed Jan 04, 2023 14:42    Post subject: Reply with quote
I had issues with Torguard just dropping Wireguard connection, nothing changed just stopped, i had to regenerating new Wireguard config in their UI, as soon as I entered the config it worked again for x amount time and repeat.
May not be related, I am unsure if this is what is happening to you.

_________________
Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.

No one can build you the bridge on which you, and only you, must cross the river of life!
jauch888888
DD-WRT User


Joined: 23 Apr 2020
Posts: 101

PostPosted: Wed Jan 04, 2023 16:03    Post subject: Reply with quote
foz111 wrote:
I had issues with Torguard just dropping Wireguard connection, nothing changed just stopped, i had to regenerating new Wireguard config in their UI, as soon as I entered the config it worked again for x amount time and repeat.
May not be related, I am unsure if this is what is happening to you.



I think now we dont have to renew the config anymore with torguard?
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 707
Location: Earth

PostPosted: Wed Jan 04, 2023 18:31    Post subject: Reply with quote
Don't use them anymore, the sudden Wireguard drop issue was doing the same on a router i look after. Their development team were aware of the issue at the time, it was a while ago so they may well have sorted the issue out now, I couldn't say, I wasn't sure if the problem was related to your issue or not.
_________________
Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.

No one can build you the bridge on which you, and only you, must cross the river of life!
emanon
DD-WRT User


Joined: 25 Oct 2019
Posts: 144

PostPosted: Sat Apr 29, 2023 15:12    Post subject: Reply with quote
Is this drop issue still occurring? If so, I don't need to set up my Torguard Wireguard on my router.

If this issue is no longer, I want to try to add the tunnel. I tried in the past but never acquired a handshake. The problem is that the instructions from the Torguard website don't match the dd-wrt Tunnel page for Wireguard. I am using a recent version of dd-wrt. I am not smart enough to determine what goes where on the Tunnel page. Torguard's instructions need to be updated to match dd-wrt.

Is it possible for someone to take a screenshot of their Tunnel page, de-identify it, and post it here? That would help me greatly.

_________________
Linksys WRT32X | DD-WRT v3.0-r51937 std (03/05/23) | macOS Ventura
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Sat Apr 29, 2023 15:20    Post subject: Reply with quote
Just download the wg setup file from Torguard and import it in WireGuard.
It should be as simple as that.

See the WireGuard Client setup guide.

WireGuard documentation is a sticky in this forum.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
emanon
DD-WRT User


Joined: 25 Oct 2019
Posts: 144

PostPosted: Sat Apr 29, 2023 15:26    Post subject: Reply with quote
egc wrote:
Just download the wg setup file from Torguard and import it in WireGuard.
It should be as simple as that.

See the WireGuard Client setup guide.

WireGuard documentation is a sticky in this forum.


OMG!! I looked for this on the Torguard website and didnt see it! I knew they should have import setup file! I STILL DONT SEE IT! Pleaee post a link.

Thank you so much!!!

_________________
Linksys WRT32X | DD-WRT v3.0-r51937 std (03/05/23) | macOS Ventura
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Sat Apr 29, 2023 15:41    Post subject: Reply with quote
I do not use Torguard but a quick look showed they have a VPN configurator which makes the config file on their website.
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1932

PostPosted: Sat Apr 29, 2023 15:48    Post subject: Reply with quote
Pretty sure it's somewhere in your Torguard account on their site.

https://torguard.net/indexori.php?rp=/knowledgebase/263/How-to-setup-Wireguard-on-DD-WRT-with-TorGuard.html

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
emanon
DD-WRT User


Joined: 25 Oct 2019
Posts: 144

PostPosted: Sat Apr 29, 2023 15:51    Post subject: Reply with quote
dale_gribble39 wrote:
Pretty sure it's somewhere in your Torguard account on their site.

https://torguard.net/indexori.php?rp=/knowledgebase/263/How-to-setup-Wireguard-on-DD-WRT-with-TorGuard.html


Yes this is the wizard that needs updating. I tried following and I was not successful. I will keep trying.

_________________
Linksys WRT32X | DD-WRT v3.0-r51937 std (03/05/23) | macOS Ventura
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
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