Team,
I setup an interface for Fiber (DTAG) temporary, recieved an IPv4 but have no traffic...
Firewall was assigned to wan.
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 'fd2d:2ed7:06c9::/48'
config device
option name 'br-lan'
option type 'bridge'
option bridge_empty '1'
list ports 'lan1'
list ports 'lan4'
list ports 'lan5'
config device
option name 'lan1'
option macaddr '94:83:c4:a6:01:6e'
config device
option name 'lan2'
option macaddr '94:83:c4:a6:01:6e'
config device
option name 'lan3'
option macaddr '94:83:c4:a6:01:6e'
config device
option name 'lan4'
option macaddr '94:83:c4:a6:01:6e'
config device
option name 'lan5'
option macaddr '94:83:c4:a6:01:6e'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.152.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'eth1'
option macaddr '94:83:c4:a6:01:6c'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
option metric '10'
config interface 'WGSERVER'
...
config wireguard_WGSERVER
...
config wireguard_WGSERVER
...
config wireguard_WGSERVER
...
config wireguard_WGSERVER
...
config interface 'WAN2_5G'
option proto 'dhcp'
option device 'lan2'
option metric '20'
config device
option type '8021q'
option ifname 'lan2'
option vid '2'
option name 'lan2.2'
config device
option type '8021q'
option ifname 'lan3'
option vid '7'
option name 'lan3.7'
config interface 'Glasfaser'
option proto 'pppoe'
option device 'lan3.7'
option username '...'
option password '...'
option ipv6 '0'
Firewall:
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'WGSERVER'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'WAN2_5G'
list network 'Glasfaser'
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 redirect
option dest 'lan'
option target 'DNAT'
option src 'lan'
option src_dport '53'
option name 'AdGuardHome DNS Interception'
option src_ip '!192.168.152.1'
option dest_ip '192.168.152.1'
option dest_port '53'
config nat
option name 'Prevent hardcoded DNS'
list proto 'tcp'
list proto 'udp'
option src 'lan'
option dest_ip '192.168.152.1'
option dest_port '53'
option target 'MASQUERADE'
config rule
option name 'VPN'
list proto 'udp'
option src 'wan'
option dest_port '...'
option target 'ACCEPT'