I have had wireguard working flawlessly for a while now including access to the openwrt router via my cell phone data plan. This let me connect to my home cameras from anywhere. However, recently, in the last 6 months or so, the cell phone stopped working with wireguard even though the android app shows that it is connected.
In my testing with the cell phone, wireguard still works from a wired internet provider (via wifi), however, if I go to whatsmyip.com, it shows only an ipv4 address. With the vpn disabled, it shows both ipv4 and ipv6.
When the cell phone is on its data plan, whatsmyip,.com shows both IPv4 and IPv6 addresses, However, with the VPN turned on, it never connects.
I'm guessing that tmobile is not doing something they used to do. I'm guessing it has something to do with IPv6.
I have attached my config files below. Has anyone gotten ipv6 to work on wireguard on openwrt?
Thanks.
network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdf2:gggg:hhhh::/48'
config device
option name 'br-lan'
option type 'bridge'
option macaddr ''
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'wan'
option macaddr 'aa:bb:cc:dd:ee:ff'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
config device
option name 'eth0'
option macaddr 'aa:bb:cc:dd:ee:ff5'
config interface 'vpn'
option proto 'wireguard'
option private_key '<private Key>'
option listen_port '99999'
list addresses '192.168.10.1/24'
list addresses 'isp:assigned:prefix:address::/64'
config wireguard_vpn 'wgclient'
option public_key '<public Key>'
option preshared_key '<pre-shared-key>'
option private_key '<private key>'
list allowed_ips '192.168.10.2/32'
option description 'Cell Phone Peer'
config interface 'CamLan'
option proto 'static'
option ipaddr '192.168.999.1'
option netmask '255.255.255.0'
option device 'lan1'
config wireguard_vpn
option description 'Computer'
option public_key '<public key>'
option private_key 'private key'
option preshared_key 'preshared key'
list allowed_ips '192.168.10.3/32'
================================
firewall
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone 'lan'
option name 'lan'
list network 'lan'
list network 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone 'wan'
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config rule
option name 'Allow_Web_Server_v6'
option family 'ipv6'
option dest 'lan'
option dest_port '80'
option proto 'tcp'
option target 'ACCEPT'
option limit '10/second'
option src 'wan'
list dest_ip '::116/-64'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Asterisk'
option family 'ipv4'
list proto 'udp'
option src 'wan'
option src_dport '990-999'
option dest_ip '192.168.1.999'
option dest_port '9999'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'AsteriskRTP'
option family 'ipv4'
list proto 'udp'
option src 'wan'
option src_dport '10000-10001'
option dest_ip '192.168.1.999'
option dest_port '1111-2222'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Apache2_ipv4'
option family 'ipv4'
list proto 'tcp'
option src 'wan'
option src_dport '80'
option dest_ip '192.168.1.116'
option dest_port '80'
config rule 'wg'
option name 'Allow-WireGuard'
option src 'wan'
option dest_port '99999'
option proto 'udp'
option target 'ACCEPT'
config zone
option name 'CamWall'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
list network 'CamLan'
config forwarding
option src 'CamWall'
option dest 'lan'
config forwarding
option src 'lan'
option dest 'CamWall'
config rule
option name 'Allow_BlueIrisOut'
list src_ip '192.168.999.999'
option dest '*'
option target 'ACCEPT'
option src 'CamWall'
option enabled '0'
config rule
option name 'Allow_BlueIrisIn'
option src '*'
option dest 'CamWall'
list dest_ip '192.168.999.999'
option target 'ACCEPT'
option enabled '0'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Apache2-Test'
list proto 'tcp'
option src 'wan'
option src_dport '80'
option dest_ip '192.168.1.999'
option dest_port '8080'
option enabled '0'