[PATCH] Revert "netifd: update to the latest version"

Rui Salvaterra rsalvaterra at gmail.com
Fri Nov 13 05:41:54 EST 2020


On Fri, 13 Nov 2020 at 10:35, Felix Fietkau <nbd at nbd.name> wrote:
>
> Please show me the full /etc/config/network so I can test with it as-is.

Here it goes (WG keys redacted):

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    list ipaddr '127.0.0.1/8'

config interface 'lan'
    option ifname 'eth0.1'
    option ipv6 '0'
    option proto 'static'
    option type 'bridge'
    list ipaddr '192.168.16.1/24'

config interface 'tor'
    option ipv6 '0'
    option proto 'static'
    option type 'bridge'
    list ipaddr '192.168.17.1/24'

config interface 'gst'
    option ipv6 '0'
    option proto 'static'
    option type 'bridge'
    list ipaddr '192.168.18.1/24'

config interface 'pub'
    option ipv6 '0'
    option proto 'static'
    option type 'bridge'
    list ipaddr '192.168.19.1/24'

config interface 'wgl'
    option ipv6 '0'
    option listen_port '995'
    option proto 'wireguard'
    list addresses '10.0.0.1/29'

config wireguard_wgl
    option route_allowed_ips '1'
    list allowed_ips '192.168.240.0/24'

config wireguard_wgl
    list allowed_ips '10.0.0.4/32'

config wireguard_wgl
    list allowed_ips '10.0.0.5/32'

config interface 'wgt'
    option ipv6 '0'
    option listen_port '443'
    option proto 'wireguard'
    list addresses '10.0.1.1/30'

config wireguard_wgt
    list allowed_ips '10.0.1.2/32'

config interface 'wgk'
    option ipv6 '0'
    option listen_port '80'
    option proto 'wireguard'
    list addresses '10.0.2.2/30'

config wireguard_wgk
    option endpoint_host '62.28.38.138'
    option endpoint_port '443'
    option route_allowed_ips '1'
    list allowed_ips '192.168.1.0/24'

config interface 'wan'
    option ifname 'eth0.2'
    option ipv6 '0'
    option proto 'dhcp'

config switch
    option enable_vlan '1'
    option name 'switch0'
    option reset '1'

config switch_vlan
    option device 'switch0'
    option ports '2 3 4 5 0t'
    option vlan '1'

config switch_vlan
    option device 'switch0'
    option ports '1 0t'
    option vlan '2'

Thanks,
Rui



More information about the openwrt-devel mailing list