DocUmibozu
Regular Contributor
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 10.6.0.1/32
Site to site allowed IP on Server 10.6.0.5/32,192.168.12.0/24
Client Config is this
[Interface]
PrivateKey =XXX
Address = 10.6.0.5/32
DNS = 10.6.0.1
[Peer]
PublicKey = XXX
AllowedIPs = 192.168.12.0/24 (fritzbox subnet)
Endpoint = XXX:51820
PersistentKeepalive = 25
When I import it in Fritzbox the connection is established and I can ping a see everything on 192.168.1.0/24 (my home) and if I ping internet the connection goes outside the tunnel (like I want, a site to site split tunnel wireguard only)
But from my home I can't see anything on 192.168.12.0/24 (Fritzbox subnet).
It's like a one direction only vpn.
After a lot of head banging I found a way to extract the wireguard configuration from fritzbox and I see some changes made by it.
The configuration after import has become this:
[Interface]
PrivateKey =XXX
Address = 192.168.12.1/24,10.6.0.5/32 (why 192.168.12.1/24 ??)
DNS = 192.168.12.1
DNS = fritz.box
[Peer]
PublicKey = XXX
AllowedIPs = 192.168.1.0/24
Endpoint = XXX:51820
PersistentKeepalive = 25
Any idea to make this a proper two side tunnel apart from ditching the fritzbox and buying a 40€ operwrt router which works?
Thank you all
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 10.6.0.1/32
Site to site allowed IP on Server 10.6.0.5/32,192.168.12.0/24
Client Config is this
[Interface]
PrivateKey =XXX
Address = 10.6.0.5/32
DNS = 10.6.0.1
[Peer]
PublicKey = XXX
AllowedIPs = 192.168.12.0/24 (fritzbox subnet)
Endpoint = XXX:51820
PersistentKeepalive = 25
When I import it in Fritzbox the connection is established and I can ping a see everything on 192.168.1.0/24 (my home) and if I ping internet the connection goes outside the tunnel (like I want, a site to site split tunnel wireguard only)
But from my home I can't see anything on 192.168.12.0/24 (Fritzbox subnet).
It's like a one direction only vpn.
After a lot of head banging I found a way to extract the wireguard configuration from fritzbox and I see some changes made by it.
The configuration after import has become this:
[Interface]
PrivateKey =XXX
Address = 192.168.12.1/24,10.6.0.5/32 (why 192.168.12.1/24 ??)
DNS = 192.168.12.1
DNS = fritz.box
[Peer]
PublicKey = XXX
AllowedIPs = 192.168.1.0/24
Endpoint = XXX:51820
PersistentKeepalive = 25
Any idea to make this a proper two side tunnel apart from ditching the fritzbox and buying a 40€ operwrt router which works?
Thank you all