FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
232 views 2 comments
by anonymous

Hi, I have an openvpn network with RUT955 with this configuration (one server and two clients):

SERVER: CENTRO                                CLIENT: JAROSA                   CLIENT: QUER

LAN RUT: 10.30.1.1                              LAN RUT: 10.30.3.1                LAN RUT: 10.30.2.1

PLC:10.30.1.4                                          PLC:10.30.3.7                          PLC:10.30.2.5

2 Questions:

1. Since 10.30.1.1 (server) I have ping all devices but not between devices (client to client). I have configured openvpn with client to client and I have added in push options the path (10.30.3.0 255.255.255.0 and 10.30.2.0 255.255.255.0). I add screenshots below.

2. from plc (10.30.1.4) I don't have access to the other plc's (10.30.2.5 and 10.30.3.7). I suppose it is something related to the firewall but I don't see it. Access is through port 502 and I have tried adding port forwarding and traffic rules (any -> 502 in device). If I have managed to access from client plc 10.30.3.7 to server plc (10.30.1.4) so it seems that the port is open.

I think the two questions start at the same problem. I think that if openvpn, the TLS certificates are ok.


Server OpenVpn

Client OpenVpn
FirewallRules

 server centro

client jarosa
client quer

Thanks.

1 Answer

0 votes
by anonymous
Hi,

Please attach the screenshots you were talking about, as they're not in the questions right now.

Also, please add openvpn config files of both clients and the server.

EB.
by anonymous
In the push option field, did you define "route" before IP and subnet?

EB.
by anonymous

Yes, adding "route" in push options is ok. Too, in CLI, I have created the routes between clients with Route add -net "remote client ip (10.30.3.0)" netmask 255.255.255.0 gw "virtual ip openvpn (10.0.0.5)" and I already have communication between clients.

Regarding access to port 502, it was a problem to define the gateway correctly.

Thanks.