Wireguard S2S VPN to Fritzbox

Hi,
I am fighting with Wireguard config an need assistance, since Wireguard is pretty new for me.
Situation at home:
A DSL-light internet connection with IPv6 only (no IPv4 Adress) with a Fritzbox 7590 as the router to the internet. Other side of the Fritzbox is a IPv4 network (192.168.8.0/24). IP Fritzbox: 192.168.8.254
Situation remote:
RUTX50 with a SIM card. Provider assign an IPv4 and IPv6 address. Behind there is a WiFi with 192.168.10.0/24. IP RUTX50: 192.168.10.1

Target should be:
Site to site VPN over Wireguard where all clients on the remote site able to access all devices on home network.

Current Config:
RUTX50: Wireguard interface with generated Private and Public key. IP-addresses: 192.168.10.253/24; Adv. config: ListenPort: 51820
Peer config: 1 peer with public key of Fritzbox Wireguard interface; Endpoint host: “DynDNS” of Fritzbox;
Allowed IPs: 0.0.0.0/0; Route allowed IPs: ON
ADv. Config: EndPoint port: Port which Fritzbox listening on; PSK: PSK of Fritzbox config file (downloaded after generate Fritzbox config); Persistent keep alive:25
Fritzbox: Assistant… set up network connect mode (hope all translations are correct :sunglasses:)
The final result file here:
Bildschirmfoto 2023-12-13 um 17.00.14

Unfortunately VPN is not establishing…
Hope that somebody is able to help me here, since my travel starts soon and I need to have this working before… otherwise my travel need to get cancelled :cold_sweat:

Thank you so much!
Mav

Hello Mav,

Can you show me the logs of your RUTX50 establishing the wireguard tunnel to your fritzbox? this can be done by typing the logread command in the CLI of the router.
Note that don’t just paste it here, you can copy the logs relating to wireguard only then just replace some IP details for security.

At the same time, kindly try pinging the dyndns domain name in the RUTX50 side to confirm if it can reach the said domain.

On the Frizbox configuration, can you add the Wireguard IP of RUTX50 (192.168.10.253/24) in the ‘AllowedIPs’ field.

If that doesn’t work, would it be possible to change the wireguard IP address of the RUTX50 to any IP, (e.g. 10.0.0.1) just to be sure that it would not cause any conflict to its addressing since you’ve mentioned that behind the RUTX50 is having an IP of 192.168.10.1 /24.
Then add that IP address to the AllowedIPs of the Frizbox config.

Best regards,
Robert

Hi Robert,
thanks for fast reply!

  1. Pinging DynDNS address of the FB (Fritzbox) out of the CLI: succeeded
  2. Adding something within the FB config: not possible (not know how, at least, since everything is greyed out after creating it and there is only a field called ‘remote network’ during creation time. This entry is ‘192.168.10.0/24’ at this time).
  3. the log (hope it is complete):
Thu Dec 14 10:17:54 2023 daemon.notice netifd: Interface 'VPN_ASC' is setting up now                                                                   
Thu Dec 14 10:17:54 2023 user.notice wireguard: Interface VPN_ASC mtu size changed from  to 1420                                                       
Thu Dec 14 10:17:54 2023 daemon.notice netifd: Interface 'VPN_ASC' is now up                                                                           
Thu Dec 14 10:17:54 2023 daemon.notice netifd: Network device 'VPN_ASC' link is up                                                                     
Thu Dec 14 10:17:55 2023 user.warn mwan3-hotplug[10680]: hotplug called on VPN_ASC before mwan3 has been set up                                        
Thu Dec 14 10:17:56 2023 daemon.notice netifd: Wireless device 'radio0' set retry=3                                                                    
Thu Dec 14 10:17:56 2023 daemon.notice netifd: Wireless device 'radio1' set retry=3                                                                    
Thu Dec 14 10:17:56 2023 user.notice firewall: Reloading firewall due to ifup of VPN_ASC (VPN_ASC)                                                     
Thu Dec 14 10:17:56 2023 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx                                                           
Thu Dec 14 10:17:56 2023 kern.notice RUT_ASC_2G: WiFi client disconnected: xx:xx:xx:xx:xx:xx                                                           
Thu Dec 14 10:17:56 2023 daemon.notice hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not acknowledge authentication response                  
Thu Dec 14 10:17:56 2023 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)                             

Hope that helps analyzing it.
Cheers
/Mav

Hi,
problem solved!

Since Fritzbox as the internet gateway is very common at least in germany, I like to refer to that thread which finally solved my issue to help those of you who found this thread first:

RUT950-Wireguard-with-Fritzbox

another very helpful thread within the recherche:
How to get info that WireGuard (site-to-site) is down?

Thanks
/Mav

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.