Hi everyone!
I start playing with my router with Openwrt v23.0 and WireGuard.
Unfortunately I use Deutsche Telekom, so O don't have static IPv4. For this reason I start with IPv6. I try to combine IPv4 setup with IPv6, but it seems, that it not so easy, as I think.
That, what I made:
interfaces:
config redirect
option dest 'wg'
option target 'DNAT'
option name 'wg0'
list proto 'udp'
option src 'wan'
option src_dport '51820'
option dest_port '51820'
option family 'ipv6'
config rule
option name 'wgv6test'
option family 'ipv6'
option src 'wan'
option target 'ACCEPT'
list proto 'udp'
option dest_port '51820'
option src_port '51820'
option dest 'wg'
config rule
option name 'Allow-SSH-v6'
option src 'wan'
option dest_port '22'
option family 'ipv6'
option target 'ACCEPT'
list proto 'tcp'
list proto 'udp'
config rule
option name 'WG_Port '
option family 'ipv6'
list proto 'udp'
option src 'wan'
option src_port '55255'
option dest 'lan'
option dest_port '55255'
option target 'ACCEPT'
config forwarding
option src 'wg'
option dest 'wan'
I already start thinking, that I have problem with IPv6, but SSH work.
Also, I make a DDNS name for router on IPv6 with duckdns.
Over this name, I can reache router with SSH, but WireGuard - no.
My Telefon send packet, but log said: No handshake after 5 seconds
This is a kind of orthogonal suggestion, but while I was still at DTAG with their dynamic IPv6 prefixes, I resorted to using a (static /48) Hurricane Electric 6in4 tunnel for wireguard. Worked quite well for me back then.
As I understand, this firma provides static ipv6 and routinng from ipv4 to ipv6? thats can help in future, but I already setup DDNS for router, so thank you for advice
You now, is it possible in this setup, reache device, wich in local network, but don't have ipv6 adress? some of my IoT device can't work with ipv6, only ipv4
Hm, now, when I start Wireguard on my phone I see packets, but network works not smooth. Youtube make update, but no video, google chrome didn't open site and I can't reach local devices
Try with lowering MTU on the WG interface both on client and server.
Default is 1420 lower to 1280 or even lower.
Recently I saw someone who claims he had to lower to 400