PLC Access Setup Guide
This use case explains how a PLC connected to an AG-702 gateway can be securely accessed from a remote location using ATRA RMS and the ATRA VPN Client , without exposing the PLC or local network to the public internet.
1. Network Setup (AG-702 and PLC)
1.1 Configure Static IP on AG-702 Gateway
Purpose: Configure the AG-702 with a static LAN IP that belongs to the same subnet as the PLC.
Steps to Configure Static IP:
-
Connect AG-702 ETH2 (LAN) to your laptop/PC using an Ethernet cable.
-
Open Terminal / Command Prompt on the laptop.
-
Verify connectivity with the gateway:
ping 192.168.1.1. Ensure that a reply is received. -
Log in with the following credentials:
-
Username:
root -
Password:
root
-
-
Click Edit on the br-lan interface.
-
Change the IPv4 address to match the PLC subnet.
-
Click Save, then Save & Apply.
1.2 Firewall Configuration
-
Navigate to: Network → Firewall
-
In the General Settings tab:
-
Set all fields to Accept
-
Select all available Zone checkboxes.
-
1.3 Port Forwarding Configuration
-
Open the Port Forwards tab.
-
Edit each existing port-forward rule one by one:
- Set Internal IP Address to:
192.168.12.1
- Set Internal IP Address to:
-
Save the rule.
-
Click Save & Apply.
Result of Network Setup: The AG-702 gateway is now configured with a static LAN IP (192.168.12.1) aligned with the PLC subnet and is ready for registration in ATRA RMS.
2. Device Registration in ATRA RMS
-
Log in to ATRA RMS.
- Navigate to the Devices section.
-
Register the AG-702 gateway.
-
Verify that the device status shows Online.
3. VPN Tunnel Configuration in ATRA RMS
-
Navigate to the VPN section in ATRA RMS.
-
Create a new VPN tunnel.
-
Enable the VPN tunnel.
-
Add the registered AG-702 device to the tunnel.
-
Enable Network Forwarding.
-
Add the PLC network/subnet to the forwarding list.
- Example:
PLC IP:192.168.12.X
Network Forwarding IP 1:192.168.12.0/24
- Example:
-
Add the device to a Device Group.
-
Add required users to the VPN tunnel.
-
Start the VPN tunnel.
4. Remote PLC Access via ATRA VPN Client
-
Open the ATRA VPN Client (Windows Application).
-
Log in using your ATRA RMS credentials.
-
Connect to the configured VPN tunnel.
-
Open a terminal/command prompt.
-
Verify PLC connectivity:
ping 192.168.12.X- A successful reply confirms that the PLC is reachable through the VPN.
5. PLC Programming
-
Open the PLC programming software.
-
Go online with the PLC.
-
Perform program upload or download securely over the VPN connection.
Outcome
The PLC is now securely accessible from a remote location through ATRA RMS, using the AG-702 gateway and an encrypted VPN tunnel.
All communication is routed through the gateway, ensuring secure and controlled access without exposing the PLC or the local industrial network to the public internet.




