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
404 views 0 comments
by anonymous

 image

Schematic

I am trying to access MySQL DB from the MySQL DB client as shown in the above schematic.

image

The TRB140 is directly connected to the DB host using LAN and I can telnet to IP 192.168.2.212 on port 3306 from the TRB140(SSH session).

image

The TRB140 is connected to the OpenVPN server on the cloud and I can SSH into TRB140 from other clients like the MySQL DB client on the OpenVPN network.

image

Now, I want to access the DB from a MySQL DB client (participant of the OpenVPN network with the IP 10.8.0.2). This client can also SSH into TRB140 as shown above.

image

Firewall Settings on the TRB140

image

Port forward settings on TRB140

This doesn't work, I tried Traffic Rules and they seem to offer very similar settings as the port forwarding option but neither works alone or together.

Any help is highly appreciated.

1 Answer

0 votes
by anonymous

Hello,

Did you add a TLS client on the OpenVPN server side? By adding a TLS client, you will then be able to access the client local network device. More information you can find here: https://wiki.teltonika-networks.com/view/OpenVPN_configuration_examples#Clients_from_Server

Regards.