Sophos Firewall Interface Mapping on vSphere

Sophos Firewall Interface Mapping on vSphere

When you deploy a Sophos firewall on VMware vSphere, you start with 3 network interfaces PortA for LAN, PortB for WAN, and PortC is unassigned.

In VMware vCenter, PortA is Network adapter 1, PortB is Network adapter 2, and PortC is Network adapter 3.

However, when you add more network adapters in VMware vSphere, the mappings between SFOS (Sophos Firewall Operating System) and VMware vSphere no longer align.

In this post, I will show you, step by step, how to add more network interfaces to SFOS (Sophos Firewall Operating System) running on VMware vSphere and how to map the interfaces between SFOS and VMware vCenter.

The Process

Adding Interfaces

VMware vCenter VMs can have up to 10 network adapters.

In my example, I will add 7 more network adapters, bringing the total to 10.

When adding network adapters, it defaults to the E1000 adapter type, which you can use, but it’s recommended to use the VMXNET 3 adapter type.

Mapping Interfaces

Once the SFOS VM has booted after adding the additional network adapters, the interface mapping between vCenter and SFOS won’t match, except that the SFOS network interface PortA always maps to network adapter 1 in vCenter.

Since PortA in SFOS is always vCenter network adapter 1, we will update its name in SFOS to reflect this mapping in vCenter.

In my example, I will refer to the vCenter network adapters as vNICs and set PortA’s name to vNIC-1.

To identify the other interfaces in SFOS and vCenter, we will disconnect all of the network adapters on the SFOS VM in vCenter except vNIC 1, since we already know which one it is.

To display the VMware vCenter network adapter status in SFOS, we need to temporarily assign each interface in SFOS with a network zone and an IP assignment.

The network zone doesn’t matter, as we are temporarily setting it to map the interfaces.

In my example, I will set it to DMZ.

It doesn’t matter whether the network has DHCP, since it will be temporary while we map the interfaces.

Once all interfaces, except vNIC-1, are completed, they will appear as unplugged.

In my example, vCenter network adapter 2 is PortD in SFOS.

In my example, I will name it vNIC-2, as it is vCenter network adapter 2.

Once you are completed, you will see all interfaces as connected.

In my example, interface PortB became vNIC 5.

In the end, my mappings were as follows.

vCenterSFOS
vNIC 1Port A
vNIC 2Port D
vNIC 3Port G
vNIC 4Port I
vNIC 5Port B
vNIC 6Port E
vNIC 7Port H
vNIC 8Port J
vNIC 9Port C
vNIC 10Port F

Now that the mapping is complete, we can set the interfaces to their correct network zone or set them to none.

When you look at the network interfaces, even though you can’t change the name of an interface when the network zone is set to none, the previous name is still retained.

That’s all it takes to add more network interfaces to a Sophos firewall running on VMware vSphere, and how to map the VMware vCenter network adapters to the SFOS network interfaces.

If you want to read more about Sophos firewall network interfaces, here is the Sophos documentation.

Exit mobile version