I have an LG G2 TV and had issues with Airplay failing to connect most of the time when the TV was connected over WiFi. All streaming apps on the TV worked fine.
After lots of Googling, I decided to try connecting the TV over ethernet as per someone's suggestion, and have not had any issues...
Here's my working OpenVPN lan-to-lan setup (GT-AX6000 and RT-AX86U) without NAT:
- network 1 (server): 192.168.1.0/24
- network 2 (client): 192.168.11.0/24, 192.168.12.0/24, 192.168.13.0/24
All clients from all subnets are able to communicate with each other. There's no need to set up static...
We're almost there ;). I think the line is now missing the "print" part which picks up the actual value
MTU=$(awk '/^#?MTU/ {print $3}' ${CONFIG_DIR}${VPN_ID}.conf) # v4.15.6[ICODE]
I totally understand. I already tried going the Entware wg-quick way but was unable to make it run stably on my RT-AC86U. I keep getting freezes/disconnects and errors such as
BLOG ERROR blog_request :blog_key corruption when adding flow net_p=ffffffc00a062a60 dir=1 old_key=0x20002f3b...
Thanks for the fix! With @ZebMcKayhan's hint about the required hashtags and one edit to wg_server I was able to make the "#MTU = 1400" directive work:
MTU=$(awk '/^#MTU/ {print $3}' ${CONFIG_DIR}${VPN_ID}.conf) # v4.15.5
The current dev code is missing the hashtag in the above line and thus...
I'm using nano in the router's terminal... Did you try that the command worked on your setup?
Edit: Just realised that error output is coming from wg itself. I wonder if the Asus-built wg binaries are to blame?
The wg21.conf file has the line exactly as instructed with spaces:
PostUp = ip link %i set mtu 1400
Maybe your parser drops the spaces from the error message?
Thanks for the extremely quick response and attempt at resolution!
I upgraded the script and edited the wg21.conf file as follows:
# Home - 192.168.1.0/24
[Interface]
PrivateKey = <redacted>
#Address = 10.8.0.1/32
ListenPort = 51516
MTU = 1400
Running "restart servers" now produces the...
Is there a way to set the MTU for a server from wgm? I'm setting up a site2site connection between my home and cabin where the cabin side is connected over LTE and has a lower than normal MTU of 1460. This means that the max MTU for Wireguard is 1400 instead of the default 1420.
I've already...