Včera jsem updatoval modráka a rozbilo se IPv4. Router chce léz na internet přes IP/Gateway, který je nastavený pro Wireguard interface, a ignoruje nastavení WAN interface. Takto to vypadá v Luci. IPv6 Funguje.
10.43.. je adresa od ISP nastavena na WAN rozhraní
10.10.20.1 je adresa na Wireguard rozhraní.
Mělo by to vypadat nějak takto (pořízeno na funkčním kusu)
EDIT:
POdle snapshotů to byl update:
Automatic pre-update snapshot (TurrisOS 6.4.4 - hbs) 6/26/2024 9:02 PM 64.88MiB
496 Automatic post-update snapshot (TurrisOS 7.0.0 - hbs)
oot@turris:/etc/config# cat network
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option ula_prefix 'fd10:10:3d46::/48'
config interface 'lan'
option proto 'static'
option ip6assign '60'
option ipaddr '10.10.0.1'
option netmask '255.255.0.0'
option device 'br-lan'
config interface 'wan'
option proto 'static'
option gateway '10.48.***.***'
list dns '10.255.255.20'
list dns '10.255.255.10'
option ipv6 '1'
option device 'eth2'
list ipaddr '10.48.***.***/30'
config interface 'wan6'
option proto 'dhcpv6'
option device '@wan'
config interface 'wireguard'
option proto 'wireguard'
option listen_port '1195'
option private_key '*'
list addresses '10.10.20.1/24'
list addresses 'fd42:42:42::1/64'
option metric '10'
config wireguard_wireguard
option persistent_keepalive '25'
option public_key '*'
option description '*'
list allowed_ips '10.10.20.3/32'
list allowed_ips 'fd42:42:42::3/128'
list allowed_ips '10.30.0.0/16'
list allowed_ips 'fd10:30:cbe8::1/60'
config route
option gateway '10.10.20.3'
option interface 'wireguard'
option target '10.30.0.0/16'
option netmask '255.255.0.0'
config wireguard_wireguard
option persistent_keepalive '25'
option public_key '*'
list allowed_ips '10.10.20.2/32'
list allowed_ips 'fd42:42:42::2/128'
list allowed_ips '10.20.0.0/16'
list allowed_ips 'fd10:20:b88c::1/60'
option description '*'
config route
option interface 'wireguard'
option target '10.20.0.0/16'
option netmask '255.255.0.0'
option gateway '10.10.20.2'
config route6
option gateway 'fd42:42:42::3'
option interface 'wireguard'
option target 'fd10:30:cbe8::1/60'
config route6
option interface 'wireguard'
option gateway 'fd42:42:42::2'
option target 'fd10:20:b88c::1/60'
config device 'br_lan'
option name 'br-lan'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
option type 'bridge'
config wireguard_wireguard
option description '*'
option route_allowed_ips '1'
option persistent_keepalive '25'
option public_key '*'
option private_key '*'
list allowed_ips '10.10.20.101/32'
list allowed_ips '0.0.0.0/0'