Providing access from the PLC network to the internet

Sometimes machine vendors need remote access to the PLC. If they have a device installed inside of the machine that is trying to connect to the internet, then this tutorial is for you. By default, connections to the internet are disabled by default (and should keep being disabled)

Some machine vendors require you to open ports. You can also do that in the firewall, however, we strongly recommend against it.

Instructions

Follow these steps to enable access to the internet:

  1. Connect to OPNsense

  2. Go to Firewall → Rules → PLC (or similar)

    Untitled

  3. Add a new rule by pressing on the plus icon and create a rule similar to this

    Untitled

    Untitled

  4. Press save and apply the changes

If you need further help, take a look into the official OPNsense documentation (Rules — OPNsense documentation )

You can enable or disable the firewall rule here:

Untitled

Last modified February 17, 2023: update (#208) (ea731fc)