Tietokoneiden näyttöjä, joissa näkyy kuvaa automaatiolaboratorion laitteistosta. Monitoreiden takana näkyy sama laitteisto kuin kuvissa.

timohei.net / My Courses / Network Technologies for Automation / OpenWRT on Raspberry Pi /
Raspberry Pi with OpenWRT as Firewall

To use a Raspberry Pi with a single Ethernet port as a firewall, you will need to create a virtual network interface using VLAN tagging. VLAN tagging is a method of adding a special tag to Ethernet frames that identifies which virtual network (VLAN) they belong to. By using VLAN tagging, you can create multiple virtual network interfaces on a single physical Ethernet port.

Here are the general steps to use a Raspberry Pi with a single Ethernet port as a firewall using OpenWRT:

With this configuration, each VLAN will act as a separate network segment with its own firewall rules. This allows you to restrict traffic between different segments, and control access to your network resources.

It's worth noting that using VLAN tagging on a Raspberry Pi with a single Ethernet port can result in reduced network performance, as the processor will have to handle additional overhead for each VLAN. However, for low-to-moderate traffic loads, this should not be a significant issue.

Updated 31.3.2023

<<  Previous Page
(5) Boot OpenWrt from SD Card
Sivu 6/6First Page >>
(1) OpenWRT on Raspberry Pi
© Timo Heikkinen | timo piste heikkinen at oamk piste fi