# Problem to setup WG config: GL-AR300M -\> Wireguard -\> FritzBox

**URL:** <https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422>\
**Category:** VPN, DNS, Leaks\
**Created:** [July 15, 2023, 5:48pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422 "2023-07-15T17:48:46Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![roob](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/r/b782af/32.png) [@roob](https://forum.gl-inet.com/u/roob)\
**Post date:** [July 15, 2023, 5:48pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/1 "2023-07-15T17:48:46Z")

</div>

I have trouble to setup a wireguard vpn config.

What I want to do ?  
I want to use the GL Router as VPN Gateway to a FritzBox in other location. The GL-AR300M should provide a Wifi which routes all traffic to the remote Fritzbox.

Location A: GL-AR300M (192.168.8.1) \> FritzBox 7590 (192.168.178.1) \> (WAN = DSL)  
Location B: FritzBox 7530 (192.168.177.1) (WAN = Cable)

I configured the FB 7530 in Location B as Wireguard Server. Made profiles for all my devices (iPhone, iPad, Mac, Windows Device and also for GL-AR300M. All other devices a working as expected, but the GL-AR300M not.

The GL-AR300M is connected to the FB7590 via WAN Port. Internet is reachable from GL-AR300M Wifi.

Any Ideas ?

Again… all other devices are working. Is there any route was I have to add manually ?

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 16, 2023, 7:32am UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/2 "2023-07-16T07:32:59Z")

</div>

It sounds like you’d done the only thing that should be needed: setting the Shadow (AR300M) to act as a WG client to connect out to Loc B’s WG server.

Can you post a profile/conf for a ‘known good’ WG client device & the conf used for the Shadow? I’d like to compare them. Be sure to redact where appropriate.

Can you ssh into your Shadow? I speculate but I’m wondering if this isn’t some sort of MTU issue. My Certa is near identical to a Shadow; it seems to prefer a MTU of 1320 for WG.

> **[GL-AR750 / Creta](https://www.gl-inet.com/products/gl-ar750/)**
>
> Dual-band travel router that offers fast VPN speed and PoE support. This portable private & secure network device is great for vacation or travelling

---

<div class="post-metadata">

**Author:** ![roob](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/r/b782af/32.png) [@roob](https://forum.gl-inet.com/u/roob)\
**Post date:** [July 17, 2023, 8:14am UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/3 "2023-07-17T08:14:07Z")

</div>

So after a lot of strange behavior in Webinterface I upgraded to Beta Firmware 4.3.6.

After enabling ipv6. is the tunnel is now up and the Wireguard Server is pingable. But a don’t have Internet. Google dns is not pingable.

Here my setup again:

Location A:  
FB7590: 192.168.178.1  
FB7590 routes ipv4: net 192.168.8.0 subnet 255.255.255.0 gw 192.168.8.1  
FB7590 routes ipv6: not configured

Shadow: 192.168.8.1  
ipv6: enabled

Client A: 192.168.8.180 wants to use Internet from Location B

Location B:  
FB7530 192.168.177.1  
Routes ipv4: not configured  
Routes ipv6: not configured

VPN Tunnel is up and Client A can ping 192.168.177.1 but not 192.168.178.1 (should it ?)

Here is a config from a working laptop:

```auto
[Interface]
PrivateKey = PrivateKeyString
Address = 192.168.177.206/24
DNS = 192.168.177.1,192.168.8.1
DNS = fritz.box

[Peer]
PublicKey = PublicKeyString
PresharedKey = PresharedKeyString
AllowedIPs = 192.168.177.0/24,192.168.8.0/24,0.0.0.0/0
Endpoint = blablablabla.myfritz.net:51133
PersistentKeepalive = 25

```

Here from Shadow:

```auto
[Interface]
PrivateKey = PrivateKeyString
Address = 192.168.8.1/24
DNS = 192.168.177.1
DNS = fritz.box

[Peer]
PublicKey = PublicKeyString
PresharedKey = PresharedKeyString
AllowedIPs = 192.168.177.0/24
Endpoint = blablablabla.myfritz.net:51133
PersistentKeepalive = 25

```

Should I add any additional routes ?

---

<div class="post-metadata">

**Author:** ![Umibozu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/u/7cd45c/32.png) [@Umibozu](https://forum.gl-inet.com/u/Umibozu)\
**Post date:** [July 17, 2023, 8:21am UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/4 "2023-07-17T08:21:08Z")

</div>

Fritzbox implements a non standard wireguard configuration.  
Google about It and you’ll see.  
I’ve never been able to make my mother’s fritz connect with my openwrt or Asus routers.

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 17, 2023, 3:01pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/5 "2023-07-17T15:01:47Z")

</div>

> [@Umibozu](#):
>
> Google about It and you’ll see.

Hi [DocUmibozu](https://www.snbforums.com/members/documibozu.44217/) on SmallNetBuilder! That’s a nice tip re: third party Fritzbox firmware for proper WG implementation.

> **[Wireguard site to site help - AVM Fritzbox strange behavior](https://www.snbforums.com/threads/wireguard-site-to-site-help-avm-fritzbox-strange-behavior.83697/#post-824894)**
>
> Hi,
> I'm trying to setup a site-to-site wireguard vpn beetween my AX68U and a Fritxbox modem/router.
> The configuration is pretty basic and it works with other equipment, (openwrt routers).
> 
> My AX68U is on 192.168.1.0/24 subnet
> Wireguard tunnel is...

---

<div class="post-metadata">

**Author:** ![roob](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/r/b782af/32.png) [@roob](https://forum.gl-inet.com/u/roob)\
**Post date:** [July 17, 2023, 3:49pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/6 "2023-07-17T15:49:29Z")

</div>

I set the DNS and AllowedIP values same as working Laptop config and it’s working now.

Can anyone explain why the FritzBox creates different configs ?

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 17, 2023, 3:52pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/7 "2023-07-17T15:52:28Z")

</div>

I’m glad you got it sorted. I’d think that’s a question better directed to

> **[FRITZ!Box Support Request | AVM International](https://en.avm.de/service/fritzbox/support-request/)**
>
> Contact our competent FRITZ!Box Support team via email using our support form.

---

<div class="post-metadata">

**Author:** ![Umibozu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/u/7cd45c/32.png) [@Umibozu](https://forum.gl-inet.com/u/Umibozu)\
**Post date:** [July 17, 2023, 4:47pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/8 "2023-07-17T16:47:51Z")

</div>

Yes, the Freez firmware…  
which is no longer mantained and deprecated

[GitHub - Freetz/freetz: Freetz firmware extension/modification for the ​AVM FRITZ!Box series and devices with identical hardware](https://github.com/Freetz/freetz)

You can use Freez-NG, which seems to be supported… but is a pain in the ass, an entire recompilation of the kernel…  
Why when you can buy an Opal for less than 50 euro and live happy with a standard wireguard?

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 17, 2023, 4:49pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/9 "2023-07-17T16:49:54Z")

</div>

There’s no luck w/ Freetz-NG? The last push I see was 2 days go.

> **[GitHub - Freetz-NG/freetz-ng: Freetz-NG firmware modification for ​AVM...](https://github.com/Freetz-NG/freetz-ng)**
>
> Freetz-NG firmware modification for ​AVM devices like FRITZ!Box - GitHub - Freetz-NG/freetz-ng: Freetz-NG firmware modification for ​AVM devices like FRITZ!Box

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 17, 2023, 4:54pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/10 "2023-07-17T16:54:04Z")

</div>

> [@Umibozu](#):
>
> Why when you can buy an Opal for less than 50 euro and live happy with a standard wireguard?

IDK. Why do people install Windows 11 if they claim they value privacy? Maybe because they don’t know what they don’t know. \< / philosophical musings \>

---

<div class="post-metadata">

**Author:** ![Umibozu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/u/7cd45c/32.png) [@Umibozu](https://forum.gl-inet.com/u/Umibozu)\
**Post date:** [July 17, 2023, 5:22pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/11 "2023-07-17T17:22:25Z")

</div>

Seems an easy task… 🤣

**Requirements:**  
**You need an up to date Linux System with some prerequisites.**  
**Or download a ready-to-use VM like Gismotro’s Freetz-Linux (user & pass: freetz).**  
**There are also Docker images available like pfichtner-freetz (README).**  
**Your linux user needs to have set umask 0022 before checkout and during make.**

an entire toolchain to rebuild the firmware from scratch…

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 17, 2023, 5:26pm UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/12 "2023-07-17T17:26:12Z")

</div>

Well, I guess it’s a matter of taste then; when I was rolling my own kernels I didn’t have the convenience of a VM to pull down, ready to go. Reading a HOW-TO or three is hardly a show stopper. YMMV.

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [August 13, 2023, 9:36am UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/13 "2023-08-13T09:36:42Z")

</div>

Does this solution work?

> [@GL-AXT1800 with FritzBox](https://forum.gl-inet.com/t/gl-axt1800-with-fritzbox/25962/8):
>
> Hi Bernd please check my working config AXT1800 \> Fritzbox 6591, I have the same demands as you. Please add in your config the Endpoint = [xxxxxxxxxxxx@myfritz.net](mailto:xxxxxxxxxxxx@myfritz.net):xxxxxx 10.0.2.1 is the IP of the Fritzbox and 10.0.4.1 the GL.Inet AXT1800. If you have a diferent DNS Server as the FB, then you need to change that as well. [Interface] PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxx ListenPort = 51414 Address = 10.0.2.1/24 DNS = 10.0.2.1,10.0.4.1 [Peer] PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxx Pres…

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:23am UTC](https://forum.gl-inet.com/t/problem-to-setup-wg-config-gl-ar300m-wireguard-fritzbox/31422/14 "2025-10-29T04:23:33Z")

</div>


