FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14082 questions

16726 answers

27453 comments

53730 members

0 votes
228 views 0 comments
by

 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

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.