Configuring the Anybus Defender to bridge LAN traffic to the VPN network

21 May 2025
This article describes how to configure the Anybus defender to give the LAN network a transparent access to the VPN Network.  This use case might be useful when you want to connect a system (like a SCADA or a central PLC) that requires a permanent connection to the remote devices/sites.
 


PREREQUISITES

We will assume that you have configured the Anybus Defender as described in the article 
How to configure the Anybus Defender as VPN Server for Ewon Flexy/Cosy – HMS Support Portal

APPLICABLE PRODUCTS

Anybus Defender 4002, 6004, 6024 PROFW
Ewon Flexy
Ewon Cosy+

VERSIONS USED IN THIS ARTICLE

  • Anybus Defender


  • Flexy 205 14.9s4
  • Cosy+ 22.0s4

Anybus Defender Configuration

Bridge configuration

First, you have to create a bridge interface that bridges the LAN network and the VPN Network.

Go to "Interfaces > Assignments > Interface Assignments" and click to declare the "ovpn1" interface as a system interface.

Then go to "Interfaces > OPT1 (ovpns1)"

and enable the interface : 

Finally go to "Bridges" and click

Select both LAN and OPT1 for your Bridge and save.

VPN Server settings update

Go to "VPN > OpenVPN" and Edit your existing VPN Server settings : 

  • IPv4 Tunnel Network : Clear this field.  the Network is defined by the LAN network settings (Here 192.168.200.x)
  • Bridge DHCP: Select the option
  • Server Bridge DHCP Start & Server Bridge DHCP End: Define a VPN IP range to assign to your VPN Clients.
    Be careful that this range MUST be in the Anybus Defender LAN range and MUST not conflict with existing allocated IP addresses on the LAN network.

Now the Ewon device got the IP address "192.168.200.51"

and we can connect it using this IP address from the Anybus Defender LAN network : 

 

ADDITIONAL INFO