Page 1 of 3

Wireguard on 1.13.0

Posted: Wed Jun 15, 2022 6:22 pm
by ispyisail
Hi Lantis

Been trying to replace OpenVPN with Wireguard but one thing doesn't work is the reverse connection

Gargoyle Wireguard Server 192.168.1.1

Gargoyle Wireguard Client 192.168.10.1

The client side works perfect but the server side won't connect to client side e.g."192.168.10.1"

192.168.10.1 >> 192.168.1.1 = Perfect
192.168.1.1 >> 192.168.10.1 = No Connection

Image

Image

Image

Image

Image

Re: Wireguard on 1.3.0

Posted: Wed Jun 15, 2022 6:29 pm
by ispyisail
Also the Wireguard android client only accepts short file names

wg-TestHome.conf = good
wg-TestLongFileNameHome.conf = bad

I think its limited to about 10 characters?

Re: Wireguard on 1.3.0

Posted: Wed Jun 15, 2022 6:35 pm
by ispyisail
Also the android client appears to connect but when you check the logs its having trouble connecting
Image

Re: Wireguard on 1.3.0

Posted: Thu Jun 16, 2022 1:51 am
by Lantis
I'll try to look into this on the weekend.
I can't help much with the Android client sorry. I sold my only android device a few weeks ago.

I'm sure i tested this scenario when i was building it so i'm pretty sure it does work. And the routes are set up correctly.
Are you sure it doesn't work? How have you actually tested it?

Re: Wireguard on 1.3.0

Posted: Thu Jun 16, 2022 3:54 am
by ispyisail
I can't help much with the Android client sorry. I sold my only android device a few weeks ago.
Fixed (Sorry)

I had "data saver" turned on on 4g

Still can't connect to remote clients though

Phone >> WireGuard Server = works

Phone >> WireGuard Server >> WireGuard Client = No Work

Re: Wireguard on 1.3.0

Posted: Thu Jun 16, 2022 3:56 am
by ispyisail
I'm sure i tested this scenario when i was building it so i'm pretty sure it does work. And the routes are set up correctly.
Are you sure it doesn't work? How have you actually tested it?
I'm sure the setting are correct.

I posted screen shots to double check

Re: Wireguard on 1.3.0

Posted: Sun Jun 19, 2022 6:33 pm
by ispyisail
I'm off work with sick kids

I've set up mock network with a couple of GL-AR150's

I can confirm that reverse VPN connection does not work with Wireguard.

I also tried different configurations with no luck

Re: Wireguard on 1.3.0

Posted: Sun Jun 26, 2022 6:30 am
by Lantis
Good news, I can reproduce the issue.
I just haven’t had time to look deeper yet.
I note that if you set “clients use WireGuard for all traffic”, that works fine.
It’s only the “host only” setting that is broken. If you could confirm that, that would be good. It’s also a possible workaround for you.

Re: Wireguard on 1.3.0

Posted: Sun Jun 26, 2022 2:22 pm
by ispyisail
Thank you

I replaced my wrt32x (stuffed) with a mini x86 and went back to OpenVPN, even the C7 v5 now works as expected.

With the C7 v5 I added a USB thumb drive for exroot plus with configuring I left lots of time between changes. One of the problems with gargoyle is you never know when its finished processing changes, the icon spins forever.

Re: Wireguard on 1.3.0

Posted: Sun Feb 05, 2023 4:41 am
by Lantis
I think I’ve fixed this in 1.15.x today.
https://github.com/ericpaulbishop/gargo ... 4539d2bd2a

I need to go set up a remote network at my parents place to properly test. Doing it on mobile networks tethered to my mobile is difficult.
Also testing with my work laptop causes a lot of confusion because the firewall is set to reject everything and I can’t change it.