Providing access from the PLC network to the internet

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

⚠️
Please note that enabling full internet access for PLCs may pose security risks. We strongly recommend disabling or restricting this access as needed.
  1. Connect to OPNsense

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

  1. Click the plus icon to add a new rule.
  2. Create a rule similar to the following:

  3. Click save and apply the changes.

You can enable or disable the firewall rule in the same section. For more information, refer to the official OPNsense documentation.

You can enable or disable the firewall rule here: