Firewall rules for LAN PCs connected to external switch
Posted: Mon Apr 27, 2015 6:46 pm
I have a RouterBoard with the following interfaces and addresses:
* eth0 (WAN) - static public IP assigned by ISP
* eth1 (LAN) - 192.168.1.0/24. This port is connected to external Cisco switch. All LAN computers are connected to the same switch.
* eth2 (DMZ) - 192.168.2.0/24. HTTP/HTTPS server.
The routes are set to default. Traffic from eth2 to eth1 is blocked for the obvious reason (DMZ).
I would like to create firewall rules to filter traffic between PC within LAN (connected to Cisco switch), eg. to isolate traffic between each PC in LAN.
As far as I know, forward chain requires to pass traffic through at least two interfaces to process firewall rules. So in this scenario I have only one inteface (eth1) split between all PCs in LAN by using external Cisco switch.
I know, that I can connect every PC to separate port on RouterBoard, but there is no sufficient ports on RB.
Any idea how to mark individual traffic within LAN to appply firewall rules?
* eth0 (WAN) - static public IP assigned by ISP
* eth1 (LAN) - 192.168.1.0/24. This port is connected to external Cisco switch. All LAN computers are connected to the same switch.
* eth2 (DMZ) - 192.168.2.0/24. HTTP/HTTPS server.
The routes are set to default. Traffic from eth2 to eth1 is blocked for the obvious reason (DMZ).
I would like to create firewall rules to filter traffic between PC within LAN (connected to Cisco switch), eg. to isolate traffic between each PC in LAN.
As far as I know, forward chain requires to pass traffic through at least two interfaces to process firewall rules. So in this scenario I have only one inteface (eth1) split between all PCs in LAN by using external Cisco switch.
I know, that I can connect every PC to separate port on RouterBoard, but there is no sufficient ports on RB.
Any idea how to mark individual traffic within LAN to appply firewall rules?