I've set up a guest network, but it's not passing any traffic to the WAN, and I'm unable to figure out why. Setup is as follows.
- Router: RB5009UG+S+IN (OpenWrt main now, but 24.10 HEAD didn't work either). Trunk through the SFP+ port.
- Switches: XGS1250-12 en GS1900-8HP both running OEM firmware.
- EAP615-Wall access points (on OpenWrt 24.10). Trunk through
lan0.
The guest network is setup through tagged VLAN 30 and has a 10.1.30.0/24 subnet. Firewalls are disabled on the access points. Troubleshooting suggests the trunk through the XGS1250-12 & GS1900-8HP works just fine.
What works
- DNS on clients connected to the guest network. They can resolve domains (talk to the DNS server on the router).
- Ping from the access points on the VLAN interface works, both for WAN IP's and for the router IP on the guest network (10.1.30.1).
- Ping from the clients to the router IP (10.1.30.1) works.
What does not work
'Internet' on the clients connected to the guest network (outgoing traffic - ping to WAN IP's, HTTP(S) traffic etc).
The fact traffic from the clients is getting through to the router, just not going beyond onto the internet makes me think the issue is with the router setup, but I am unable to locate any issues. Configuration files below. I set the guest firewall to logging, but when e.g. ping isup.me hangs on the client, I am not seeing anything printed on the CLI.
RB5009 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:239f:1b63::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'p1'
list ports 'p2'
list ports 'p3'
list ports 'p4'
list ports 'p5'
list ports 'p6'
list ports 'p7'
list ports 'sfp'
config interface 'lan'
option proto 'static'
option ip6assign '60'
option ipaddr '10.1.0.1/24'
option device 'br-lan.1'
config interface 'lan6'
option proto 'dhcpv6'
option reqprefix 'no'
option device '@lan'
config interface 'wan'
option device 'p8'
option proto 'dhcp'
config interface 'wan6'
option device 'p8'
option proto 'dhcpv6'
option ifname '@wan'
config bridge-vlan 'lan_vlan'
option device 'br-lan'
option vlan '1'
list ports 'p1'
list ports 'p2'
list ports 'p3'
list ports 'p4'
list ports 'p5'
list ports 'p6'
list ports 'p7'
list ports 'sfp:u*'
config device
option type '8021q'
option ifname 'sfp'
option vid '30'
option name 'guest'
config interface 'guest'
option proto 'static'
option ip6assign '60'
option ipaddr '10.1.30.1/24'
option device 'guest'
option ip6hint '30'
RB5009 firewall
config defaults
option syn_flood '1'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option drop_invalid '1'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
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 zone
option name 'wg'
option input 'ACCEPT'
option forward 'ACCEPT'
option output 'ACCEPT'
option masq '1'
option network 'wg0'
config forwarding
option src 'wg'
option dest 'lan'
config forwarding
option src 'lan'
option dest 'wg'
config rule
option src '*'
option target 'ACCEPT'
option proto 'udp'
option dest_port '2345'
option name 'Allow-WireGuard-Inbound'
config zone
option name 'guest'
list network 'guest'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option log '1'
config forwarding
option src 'guest'
option dest 'wan'
config rule
option name 'Guest ICMPv4'
option src 'guest'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Guest DNS'
option src 'guest'
option dest_port '53'
list proto 'tcp'
list proto 'udp'
option target 'ACCEPT'
config rule
option name 'Guest DHCP'
option src 'guest'
option dest_port '67-68'
list proto 'udp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Guest DHCPv6'
option src 'guest'
option src_port '546'
option dest_port '547'
list proto 'udp'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Guest ICMPv6'
option src 'guest'
option proto 'icmp'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Guest DoT access'
option target 'ACCEPT'
option src 'guest'
option dest 'wan'
list proto 'tcp'
option dest_port '853'
config rule
option name 'Dropbear WAN'
list proto 'tcp'
option dest_port '12345'
option target 'ACCEPT'
option src 'wan'
EAP615 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 packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan0'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
config bridge-vlan 'lan_vlan'
option device 'br-lan'
option vlan '1'
list ports 'lan0:u*'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
config bridge-vlan 'guest_vlan'
option device 'br-lan'
option vlan '30'
list ports 'lan0:t'
config interface 'lan'
option device 'br-lan.1'
option proto 'static'
option ip6assign '60'
option ipaddr '10.1.0.4/24'
option dns '10.1.0.1'
option gateway '10.1.0.1'
config interface 'guest'
option device 'br-lan.30'
option proto 'static'
option ip6assign '60'
option ipaddr '10.1.30.4/24'
config interface 'lan6'
option ifname '@lan'
option proto 'dhcpv6'
option reqprefix 'no'