Hi there,
I´m trying to set up Wireguard but can´t get my public IP adress.
Network config is using ds-lite and seems to work fine.
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd58:e1e3:43ed::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
config dsl 'dsl'
option ds_snr_offset '0'
option annex 'j'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.0.1'
config interface 'wan'
option ifname 'dsl0.40'
option proto 'pppoe'
option username '***'
option password '***'
option ipv6 '1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 4 5 6t'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'
option reqaddress 'try'
option reqprefix 'auto'
config interface 'wan4'
option proto 'dslite'
option ifname 'wan'
option encaplimit 'ignore'
option peeraddr '***'
option tunlink 'wan6'
But I can't understand why the router gets just the prefix back while everything is ok for clients?
wget -d -O- http://checkipv6.dyndns.com
Setting --output-document (outputdocument) to -
Setting --output-document (outputdocument) to -
DEBUG output created by Wget 1.20.3 on linux-gnu.
Reading HSTS entries from /root/.wget-hsts
--2020-12-16 17:40:32-- http://checkipv6.dyndns.com/
Resolving checkipv6.dyndns.com... 2600:2004:3001::70, 2600:2002:3001::70, 2600:200b:0:1::1, ...
Caching checkipv6.dyndns.com => 2600:2004:3001::70 2600:2002:3001::70 2600:200b:0:1::1 2a02:e183:1::70
Connecting to checkipv6.dyndns.com|2600:2004:3001::70|:80... connected.
Created socket 3.
Releasing 0x77d98fe0 (new refcount 1).
---request begin---
GET / HTTP/1.1
User-Agent: Wget/1.20.3 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: checkipv6.dyndns.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Content-Type: text/html
Server: DynDNS-CheckIP/1.0.1
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 113
---response end---
200 OK
Length: 113 [text/html]
Saving to: 'STDOUT'
- 0%[ ] 0 --.-KB/s <html><head><title>Current IP Check</title></head><body>Current IP Address: ***</body></html>
- 100%[=================================================>] 113 --.-KB/s in 0s
Closed fd 3
2020-12-16 17:40:32 (1.04 MB/s) - written to stdout [113/113]