<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Connect to Codesys PLC via VPN-tun</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bab4ed4fda/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bab4ed4fda/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/bab4ed4fda/</id><updated>2020-02-27T13:47:49.479000Z</updated><subtitle>Recent posts to Connect to Codesys PLC via VPN-tun</subtitle><entry><title>Connect to Codesys PLC via VPN-tun</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bab4ed4fda/?limit=25#0fc9" rel="alternate"/><published>2020-02-27T13:47:49.479000Z</published><updated>2020-02-27T13:47:49.479000Z</updated><author><name>team</name><uri>https://forge.codesys.com/u/team/</uri></author><id>https://forge.codesys.com402ef1cf886169cece6e9ff9d53df7f07ebf2e07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Sir or Madam,&lt;/p&gt;
&lt;p&gt;&lt;span style="color: 150%;"&gt;Status:&lt;/span&gt;&lt;br/&gt;
In our company we use LTi Servo controllers, wich include a Codesys PLC.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Our company network is something like: &lt;strong&gt;192.168.33.x&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Machine subnet ist: &lt;strong&gt;192.168.44.y&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;With a NAT on the machine's gateway, we can access every item of the &lt;strong&gt;192.168.44.y&lt;/strong&gt; subnet, by connecting to &lt;strong&gt;10.A.B.y&lt;/strong&gt; from anywhere inside our company. (Where A.B is the machine's number)&lt;br/&gt;
&lt;span&gt;[For remote maintenance of our machines remote we use a VPN server, which every online machine connects to.&lt;br/&gt;
In order to connect to any PC/drive/... without further configuration the 10.0.0.0 subnet is redirected to the VPN server.]&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;We can connect to the server controllers over TCP (with the vendor's "drive manager" software)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: 150%;"&gt;Questions:&lt;/span&gt;&lt;br/&gt;
1. How would we need to configure CoDeSyS gateway (with the gateway running on the same PC in the company subnet) to access the servo&lt;br/&gt;
  a) over UDP (Error: no adapter with the subnet ... found)&lt;br/&gt;
  b) over TCP&lt;br/&gt;
without broadcast traffic?&lt;/p&gt;
&lt;p&gt;Greetings from Austria,&lt;br/&gt;
Team&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>