Hello,
I have an Gl-iNet MT6000 (Flint 2) as my main router and I have configured multiple VLANs on it.
Until recently I had my LAN (1), Guest, IoT devices on it and everything worked as expected.
I upgraded my lab and now I need to isolate traffic and thus I created multiple VLANs. I used the same rules as in the Guest and IoT zones as well as the actual devices. I have setup a single Proxmox (for now, another 2 are coming) and I have configured these VLANs on the Proxmox as well.
I have multiple problems, but I will focus on each one of them one by one.
Problem no1 is that I cannot access the VMs on each of the new VLANs from my PC.
I start a VM/LXC on VLAN 105, IP 192.168.101.66
From my PC:
ssh root@192.168.101.66
ssh: connect to host 192.168.101.66 port 22: Connection refused
From the router itself:
ssh root@192.168.101.66
root@192.168.101.66's password:
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.17.2-2-pve x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
Last login: Mon Dec 15 11:37:04 2025 from 192.168.101.65
I will share portions of /etc/config/network and /etc/config/firewall.
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
option igmp_snooping '1'
config device
option name 'lan1'
config device
option name 'lan2'
...
config interface 'lan'
option proto 'static'
option ipaddr '192.168.0.254'
option netmask '255.255.255.0'
option ip6assign '60'
option isolate '0'
option device 'br-lan.1'
list dns '192.168.0.1'
list dns '192.168.0.254'
list dns_search 'example.com'
config interface 'guest'
option device 'br-lan.9'
option force_link '1'
option proto 'static'
option ipaddr '192.168.9.1'
option netmask '255.255.255.0'
option ip6assign '60'
option multicast_querier '1'
option igmp_snooping '1'
option isolate '1'
option disabled '0'
config interface 'iot'
option force_link '1'
option device 'br-lan.10'
option proto 'static'
option ipaddr '192.168.192.168'
option netmask '255.255.255.128'
option ip6assign '60'
option multicast_querier '1'
option igmp_snooping '1'
option isolate '1'
option disabled '0'
config bridge-vlan
option device 'br-lan'
option vlan '9'
list ports 'lan1:t'
list ports 'lan2:t'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'lan1:t'
list ports 'lan2:t'
config bridge-vlan
option device 'br-lan'
option vlan '105'
list ports 'lan1:t'
config interface 'OCP_External'
option proto 'static'
option device 'br-lan.105'
option ipaddr '192.168.101.65'
list dns '192.168.0.1'
option netmask '255.255.255.248'
list dns_search 'example.com'
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'
config zone
option name 'guest'
option forward 'REJECT'
option output 'ACCEPT'
option input 'REJECT'
list network 'guest'
config forwarding
option src 'guest'
option dest 'wan'
option enabled '1'
config zone
option name 'IoT'
option forward 'REJECT'
option output 'ACCEPT'
option input 'REJECT'
list network 'iot'
config forwarding
option dest 'IoT'
option src 'lan'
config forwarding
option dest 'guest'
option src 'lan'
config zone
option name 'ocp_external'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
list network 'OCP_External'
config forwarding
option src 'lan'
option dest 'ocp_external'
The way I understand it, traffic from my PC (lan) SHOULD be forwarded to 192.168.0.66 (VLAN 105, OCP_External) since there is a forwarding rule!
Running tcpdumpmakes things interesting:
tcpdump -ni br-lan 'host 192.168.101.66 and tcp port 22'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
19:15:57.309640 IP 192.168.0.3.47784 > 192.168.101.66.22: Flags [S], seq 3125488271, win 64240, options [mss 1460,sackOK,TS val 258068420 ecr 0,nop,wscale 10], length 0
19:15:57.309791 IP 192.168.101.66.22 > 192.168.0.3.47784: Flags [R.], seq 0, ack 3125488272, win 0, length
BUT, the 105 is not getting any packet!
tcpdump -ni br-lan.105 tcp port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan.105, link-type EN10MB (Ethernet), capture size 262144 bytes
Any ideas what is wrong?