remote connection via NAT

dracekvo

Member
Join Date
Apr 2011
Location
home
Posts
17
Hi,

I have problem. I need remote connect to PLC 317-2PNDP (with profinet) via ADSL router.

I set in router port mapping 102 from public router IP to CPU IP.

But I can't find where is possible set router IP in to Step 7 V11.

Anyone help?
 
In V11, go to the device configuration for the CPU, then select the ethernet connection, then properties. The router settings is right below where you set the IP address of the CPU.
 
Thanks,
but still im not sure if I do it right.

PLC have IP - 192.168.2.112
Router on PLC side - 192.168.2.241

Router WAN - 192.168.100.100
My computer 192.168.100.231

I tried on router adress put 192.168.100.100 but it is wrong.

conf.jpg
 
Ok, done.

And now if I want connect to PLC via this router what to do? In accessible devices tab is empty.
 
I think things are going to be a bit more complex than you think.

First off your Computer Router has no idea where you PLC Router is, and unless you have a fixed ADSL IP address it will change as and when your service provider feels like it. So you will probably need to register with a Dynamic DNS provider, there is hopefully a settings in your PLC Router that will allow this.

Next problem can be that some ADSL providers block all ports except those that are normally needed, they do it to for your security. You may have to unblock the ports you are using by visiting your ADSL providers web site, logging in and changing settings.

Then to test the link I would set up port forwarding on the PLC Router on a port to forward to the PLC on port 80. Set up a simple web page on the PLC and from your Computer, by typing in the Internet IP address or Dynamic DNS address (plus forwarding Port) of the PLC Router you should be able to connect to the PLC web page.

That is great for web pages but your PLC programming software needs to know how to connect to the PLC, I think you would have to set a Static route in your Computer Router or on your computer so that it knows how to connect to your PLC Router. Then you should be able to connect.

You can see why most of us go for a simple device like this:
http://www.e*w*o*n.biz/en/e*w*o*n-cosy-141.html?ewp=33
(take out the *, the server here blocks the name of the device).

You start the software connect to the new Router and your PLC gets an address on the same LAN and the PLC. Your PLC software won't know and won't care that it is a remote connection. It is more expensive, but way easier. Also Port Forwarding opens holes in your firewall that other could find and exploit.
 
It looks like you may have a challenging situation with non-routable addresses on both sides of that router. You may be able to accomplish what you're trying to do with port forwarding, a "DMZ Host" feature on your router, or some kind of dynamic DNS scheme. Do you have any IT types that can help you out?
 

Similar Topics

I'm about to have a guy onsite (I'm trying to help troubleshoot remotely) and he doesn't have the proper software. Usually I have the guys install...
Replies
4
Views
1,746
I apologize if this has been answered before, but I have a customer with an RMC connected to an ENBT (ABCLX Slot 1). They have another ENBT (Slot...
Replies
0
Views
2,446
well howdy all, i have been in a conundrum regarding the various paranoid (and rightly so in some cases) government computers running off network...
Replies
18
Views
4,333
I have a client site with a network of S7-400 PLCs on a LAN (CP 443's) about 400 km from my office. My client's IT people have set up a Citrix VPN...
Replies
8
Views
15,791
Greetings, I am trying to setup a connection to a SLC 5/05 via a DSL modem and am having problems. The setup is as follows: Sprint SP 645 Series...
Replies
5
Views
6,456
Back
Top Bottom