can you help me configure linux box with vlan support with shoeewall firewall. I tried many configurations but nothing works. This is my network intefaces:
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
dns-nameservers 192.168.1.1
gateway 192.168.1.1
allow-hotplug eth1
auto eth1
iface eth1 inet manual
auto vlan10
iface vlan10 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
vlan_raw_device eth1
auto vlan20
iface vlan20 inet static
address 192.168.20.1
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
vlan_raw_device eth1
auto vlan99
iface vlan99 inet static
address 192.168.4.1
netmask 255.255.255.0
network 192.168.4.0
broadcast 192.168.4.255
vlan_raw_device eth1
Internet is connected to eth0. eth1 is connected to linksys managable switch port which one is configured as a trunk port. There are configured 3 vlans on the switch.
Do I need to create some kind of bridged interfaces between vlans and eth1 or something?