SOLVED: PLC site-to-site connection on OrangePiZero works 99%
Posted: Wed Oct 03, 2018 12:02 pm
Finally I managed to do another step, here is the setup:
It should be what is called side-to-side cascading
(I already posted some questions already here on the forum, but this is a completely new situation)
Server side:
1- Windows PC running Siemens PLC software TIA13, static ethernet 10.52.254.8 connected to:
2- Orange Pi Zero, running Openwrt 15.05.01 with running vpnserver v4.25
- eth0 (connected to the PC) 10.52.254.44 static address,
this also used for configuration over windows manager and terminal SSH
- wifi, DHCP got address 192.168.92.127, connected to the access point providing internet
- eth0 locally bridged to the VPN virtual hub
Bridge side:
1- Orange Pi Zero, running OpenWrt 15.05.01 with running vpnbridge v4.25
- wifi, DHCP got address 192.168.92.113, connected also to the same access point internet
- eth0 (connected to Siemens PLC box) static address 10.52.254.45
also used for windows manager and terminal SSH
- eth0 locally bridged to the BRIDGE virtual hub
2- Siemens PLC box with static address 10.52.254.240 (connected to the OPiZ eth0)
With this setting I could fully remotely access PLC box with PC running TIA13 Siemens software
I do not want (I even can not) install any soft-server directly into PC so I use 2x OPiZ instead
Here are still open problems and questions:
1- I had to provide vpnbridge address of vpnserver directly 192.168.92.127 (see b2info.png)
if I used symbolic address vpnblablabla.softether.org vpnbridge can not find vpnserver !?
I have no idea what is wrongly set, but could it be something with NAT and masquerading?
2- I played around with vpnserver setting, but finally I set up NOTHING! (see s3.png)
it seems that if I set up whatever it was not working ? any explanantion?
attached screenshots s*.png are for vpnserver and b*.png for vpnbridge
please help to find why it is not working over internet? (it seems there is a limit of 3 attachments so I add rest later
when it is approved by moderator)
I attach also both config files (passwords dotted out)
It should be what is called side-to-side cascading
(I already posted some questions already here on the forum, but this is a completely new situation)
Server side:
1- Windows PC running Siemens PLC software TIA13, static ethernet 10.52.254.8 connected to:
2- Orange Pi Zero, running Openwrt 15.05.01 with running vpnserver v4.25
- eth0 (connected to the PC) 10.52.254.44 static address,
this also used for configuration over windows manager and terminal SSH
- wifi, DHCP got address 192.168.92.127, connected to the access point providing internet
- eth0 locally bridged to the VPN virtual hub
Bridge side:
1- Orange Pi Zero, running OpenWrt 15.05.01 with running vpnbridge v4.25
- wifi, DHCP got address 192.168.92.113, connected also to the same access point internet
- eth0 (connected to Siemens PLC box) static address 10.52.254.45
also used for windows manager and terminal SSH
- eth0 locally bridged to the BRIDGE virtual hub
2- Siemens PLC box with static address 10.52.254.240 (connected to the OPiZ eth0)
With this setting I could fully remotely access PLC box with PC running TIA13 Siemens software
I do not want (I even can not) install any soft-server directly into PC so I use 2x OPiZ instead
Here are still open problems and questions:
1- I had to provide vpnbridge address of vpnserver directly 192.168.92.127 (see b2info.png)
if I used symbolic address vpnblablabla.softether.org vpnbridge can not find vpnserver !?
I have no idea what is wrongly set, but could it be something with NAT and masquerading?
2- I played around with vpnserver setting, but finally I set up NOTHING! (see s3.png)
it seems that if I set up whatever it was not working ? any explanantion?
attached screenshots s*.png are for vpnserver and b*.png for vpnbridge
please help to find why it is not working over internet? (it seems there is a limit of 3 attachments so I add rest later
when it is approved by moderator)
I attach also both config files (passwords dotted out)