You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old March 17th, 2023, 06:34 PM   #1
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 11,568
PLC to PLC message across the Internet?

Engineers:
So, we are supposed to do some mods to the controls at a pumps station with a SLC 5/03 and it needs to communicate with another new pump station some miles away with a ML1400 (done by others). We know that the 5/03 can't do Ethernet and we understand how to overcome that.

Our tech asked about a radio link and was told don't worry about it, there's hills in the way and we're going to connect them with fiber. Great no problem. Until we find out they are adding fiber Internet to both sites.

How can I establish MSG connection across the internet between two PLCs securely?

We use Stridelinx VPN routers for secure connections for customer HMI access and from our programming PCs to their controls LANs all the time, but I have never been asked to link two control systems together with messages having the world wide web in the middle ... until now.
Attached Images
File Type: png engineers.png (312.0 KB, 194 views)
__________________
You've been taken, but you don't know it yet.

Last edited by OkiePC; March 17th, 2023 at 06:38 PM.
  Reply With Quote
Old March 17th, 2023, 06:57 PM   #2
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,255
Does StrideLinx provide a way to configure a "nailed up" VPN that functionally puts two sites on the same IP network ?

Does the Internet service provider offer VPN features, maybe even built into their modem or router ?

Ordinary MSG instructions between Rockwell controllers use ordinary TCP/IP for their transport. Anything that allows connections to be established on TCP Port 44818 between those sites should accomplish the task.

There will be a temptation to enable Port Forwarding on the Internet modem. Resist with every fiber of your being.
  Reply With Quote
Old March 17th, 2023, 07:05 PM   #3
dmroeder
Lifetime Supporting Member
United States

dmroeder is offline
 
dmroeder's Avatar
 
Join Date: Apr 2006
Location: Vancouver, WA
Posts: 3,478
Quote:
Originally Posted by Ken Roach View Post
There will be a temptation to enable Port Forwarding on the Internet modem. Resist with every fiber of your being.
Or you will end up on shodan.
__________________
Open source python communications library for CompactLogix/ControlLogix/Micro800 PLC's:
https://github.com/dmroeder/pylogix
  Reply With Quote
Old March 17th, 2023, 07:09 PM   #4
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 11,568
Quote:
Originally Posted by Ken Roach View Post
Does StrideLinx provide a way to configure a "nailed up" VPN that functionally puts two sites on the same IP network ?
Not that I could use with a PLC or another one of their VPN routers. They're rebranded "I X O N" (<sorry for the profanity...at least I didn't spell E W O N). routers and someone asked on the A/D forum about using two of them to do this and the response was "no". There's a web based interface to log in for configuration and to send a command to the remote router to turn on and off its VPN capability along with a client application that can be downloaded to a PC to use it with PLC and HMI software.

Quote:
Does the Internet service provider offer VPN features, maybe even built into their modem or router ?
Not sure yet. My partner who's our lead tech on this job has more of the details, but I want something rugged and ISP agnostic if possible. I'd also like to avoid having to install a PC at either location if possible. Just a hardware based VPN connection between two points.

Quote:
Ordinary MSG instructions between Rockwell controllers use ordinary TCP/IP for their transport. Anything that allows connections to be established on TCP Port 44818 between those sites should accomplish the task.

There will be a temptation to enable Port Forwarding on the Internet modem. Resist with every fiber of your being.
Agreed.

I never wanted to be an IT guy, I just want to fix and program machinery. I know enough to use Ethernet even for somewhat complex control systems that are isolated from the internet. I have read enough (mainly here) to know that the risks are real and saturate the web.

So I have always used a VPN appliance for remote access to controls hardware because I value my time more than I value attaining expert level network security knowledge.
__________________
You've been taken, but you don't know it yet.

Last edited by OkiePC; March 17th, 2023 at 07:17 PM.
  Reply With Quote
Old March 17th, 2023, 08:28 PM   #5
JeremyM
Lifetime Supporting Member
United States

JeremyM is offline
 
JeremyM's Avatar
 
Join Date: May 2014
Location: Dallas, Texas
Posts: 1,169
Site to site VPN, without knowing much else.

One firewall/router would host the VPN, the other would be client. Shared between each is a routing table to pass traffic sitting on the plant subnet(s) on each side. IP hosts on the plant subnet(s) on either end wouldn’t have knowledge of this and would just communicate with each other normally.
__________________
LogixLibraries
  Reply With Quote
Old March 17th, 2023, 09:49 PM   #6
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,255
My company relies on WatchGuard Fireboxes, and has for years. I fortunately don't have to set them up or maintain them.

It makes sense to want something ISP-agnostic if you have to set it up yourself.

But if you want to offload the responsibility to the guys who are paying for the Internet connection, it makes sense to require them to get it from the ISP or give the responsibility to the site owner's IT department.

For my personal site-to-site connectivity, I use ZeroTier, often running on Raspberry Pi's. But I don't use it for a Site-to-Site PLC VPN.
  Reply With Quote
Old March 18th, 2023, 05:42 PM   #7
Onstege
Member
Sweden

Onstege is offline
 
Join Date: Sep 2012
Location: Sweden
Posts: 69
Secomea have solutions for those kind of problems for us dummies.
  Reply With Quote
Old March 18th, 2023, 09:23 PM   #8
SD_Scott
Member
United States

SD_Scott is offline
 
SD_Scott's Avatar
 
Join Date: Feb 2006
Location: South Carolina
Posts: 176
It would be nice to have more details.

How much data do you want to send and receive?
What frequency do you want to do this transfer?

In manufacturing, you see databases used for keeping track of widgets throughout the process. If you already have an OPC server that you can get this data from the SLC, you could write that data to a database that both stations could have access to. Is there a business network already in place that is secure? We did a similar thing at a large company I worked for. We collected power usage data at each site around the country and sent it to a database. The VPN was already in place and totally secure.

In the database table you could have send and receive tables with a column called "status" or "state". Set that column to default to a certain number when data gets inserted, for example 100. When you read that data, set it to 200. That way the data has state associated with it. This is very common in routing and distribution systems, sortation, etc.

Oh well, just a thought.
  Reply With Quote
Old March 20th, 2023, 02:17 AM   #9
Phil Buchanan
Lifetime Supporting Member
United States

Phil Buchanan is offline
 
Phil Buchanan's Avatar
 
Join Date: Jun 2015
Location: Atlanta, Georgia
Posts: 637
Lots of ways to skin that cat. If it's budget-challenged, then something like ZeroTier or SoftEther on Rasberry Pi or Intel NUC works great. I have used soft ether in places and situations where a hardware IPsec firewall would not work.

If you want pro hardware, Fortinet or Palo Alto are good solutions for Site to Site Layer 2 VPNs

These are all castle and moat solutions, and these days, we try to avoid those where we can in favor of Zero Trust Network Access Models using things like Tempered Networks, Open Ziti, and others.

A good and free zero-trust solution for this situation would be Cloudflare Tunnels, which gives you all the benefits of a VPN and non of the weaknesses, and it's not a VPN. All of its connections are outbound, so no poking holes in your firewall and can secure devices as HTTPS that don't have native HTTPS (Old devices like SLC 500)
__________________
PLC Boot Camp Training
VFD Training
HMI Training
Electrical License Prep Training
Motor Controls Training

http://www.KeyAutomationTraining.com
  Reply With Quote
Old March 20th, 2023, 11:21 AM   #10
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 11,568
These end points are just pump stations that are unattended and there is a desire to avoid having a Windows PC at either location. The amount of data will be minimal. Probably a couple of messages from one to the other every few seconds, less than 100 words each way, based on my best guess at this point.

There is an HMI that will be updated to a Red Lion at one location.

Ideally, we'd buy a pair of industrial din rail mount VPN routers that we can configure to find each other on the internet and establish the secure tunnel.

Maybe that means I have to buy some devices that are somewhat generic and learn how to program them.

Thanks for the feedback so far.
__________________
You've been taken, but you don't know it yet.
  Reply With Quote
Old March 20th, 2023, 12:04 PM   #11
DBLD99
Member
United States

DBLD99 is offline
 
Join Date: Oct 2003
Location: USA
Posts: 230
We have used this with success - Site to Site VPN

https://www.netgate.com/appliances

PFSense (open source) is high configurable.
  Reply With Quote
Old March 20th, 2023, 01:10 PM   #12
Phil Buchanan
Lifetime Supporting Member
United States

Phil Buchanan is offline
 
Phil Buchanan's Avatar
 
Join Date: Jun 2015
Location: Atlanta, Georgia
Posts: 637
Quote:
Originally Posted by OkiePC View Post
These end points are just pump stations that are unattended and there is a desire to avoid having a Windows PC at either location. The amount of data will be minimal. Probably a couple of messages from one to the other every few seconds, less than 100 words each way, based on my best guess at this point.

There is an HMI that will be updated to a Red Lion at one location.

Ideally, we'd buy a pair of industrial din rail mount VPN routers that we can configure to find each other on the internet and establish the secure tunnel.

Maybe that means I have to buy some devices that are somewhat generic and learn how to program them.

Thanks for the feedback so far.
For those specs, we would use a Fortinet Fortigate FGR-70F-3G4G to cover all bases now and in the future.
__________________
PLC Boot Camp Training
VFD Training
HMI Training
Electrical License Prep Training
Motor Controls Training

http://www.KeyAutomationTraining.com
  Reply With Quote
Old March 24th, 2023, 03:30 PM   #13
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 11,568
Thank you all for the input. I will send some inquiries to some of these manufacturers.
__________________
You've been taken, but you don't know it yet.
  Reply With Quote
Old March 24th, 2023, 04:06 PM   #14
harryting
Lifetime Supporting Member
United States

harryting is offline
 
harryting's Avatar
 
Join Date: May 2002
Location: Puget Sound
Posts: 2,573
If there are good cell reception at both location, you can get preconfigured cell-VPN-hotspot from your cell providers. Just note it's not typically used for one of situation and you would have to work with the B2B arm of the cell provider to make this happen.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Engineers Vs. "Joe Maintenance" theColonel26 LIVE PLC Questions And Answers 108 January 15th, 2020 07:38 PM
OT: Shrewd Engineers cntrlfrk LIVE PLC Questions And Answers 5 March 7th, 2007 12:28 PM
Professional Engineers? jcr LIVE PLC Questions And Answers 2 January 8th, 2007 05:42 PM
Spell Checker-2 shahn4 LIVE PLC Questions And Answers 1 August 7th, 2004 12:52 AM
What is the role of Validation Engineers vinodivekar LIVE PLC Questions And Answers 1 November 16th, 2003 11:12 PM


All times are GMT -4. The time now is 06:25 AM.


.