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
4,181 views 2 comments
by
Hello,

I'm wondering if I can solve described problem. Can you confirm is it possible to do this that way or not?

Basically I'd like to realise two-way communication (site-to-site VPN?) between subnet 1 in location 1 and subnet 2 in location 2 across the OpenVPN.

                     VPN server - location1                                 VPN client - location 2
client 1 (PC) ------ router 1 ----------------- internet ------------------- rut240 ------------------  client 2 (surveillance camera IP)
(home)          (static, external IP)                              (LTE connection, dynamic, private IP)

Location 1- Router 1 has a static, externally visible IP in my home.
Location 2- Rut240 is accessing the network via LTE (gets only private, dynamic IP from my ISP) - so I cannot set it as VPN server.

The goal is to get access to the surveillance camera connected to the LAN to rut240 on the remote location from client 1. I decided not to use solutions such as cloud p2p for cameras.

I'm going to run openVPN server on router 1 and openVPN client on rut240. I could initiate VPN connection by enabling openVPN client (by SMS commands) to get on demand access into client's LAN behind rut240.

I've been already trying to do the same with PPTP VPN (only PPTP VPN available): PPTP client running on rut240, and PPTP server on router 1 with dd-wrt software, but no success. I spent some time to make it works properly but I manage to access from client 1 only to rut240 but NOT to client 2. Client 2 could ping of course client 1 but this direction is not I was looking for. I suppose this is PPTP restrictions so I gave up with PPTP and try openVPN.

Because my present router 1 doesn't support openVPN server, so I can't practically try this solution and I'd like to be sure this should work, before I'll buy the newer router with this features.

I'm afraid if I'd be able to route a traffic from client 1 to client 2 subnet (and access client 2 Web GUI) behind rut240 via openVPN tunnel.  

Maybe someone managed to do something like this in the similar configuration and can confirm it should works?

Every tip is welcome

Tom

1 Answer

0 votes
by anonymous

Hello,

Configuration you want to achieve is definitely possible using OpenVPN. There’s a guide in Teltonika’s wiki page with configuration examples of OpenVPN.

https://wiki.teltonika.lt/view/OpenVPN_configuration_examples

For instructions regarding how to reach server and client LAN networks remotely read section 7.1 ‘Reaching a device’s LAN network’.

If you'll have any other questions regarding the configuration feel free to ask:)

Best answer
by
Hello,

Thank you for your reply. I was studying wiki teltonika pages but I wasn't sure it can be definitely done that way.

Now I have a hint.

Or maybe there is a different, better way to access this surveillance camera from location 1 insted VPN tunnel?

Any ideas?
by anonymous

Hi Tom,

To reach location2 camera remotely without using VPN you’ll need to have public static IP/DDNS configured and do port forwarding.

If you don’t have static IP/DDNS you can use Teltonika RMS service:

https://teltonika.lt/product/rms/

You’ll be able to reach your device remotely without the need to have public static IP. Each RUT device has one free license which is valid for one month after activation.

For more information regarding RMS read wiki:

https://wiki.teltonika.lt/view/RMS

How to reach your LAN devices read this article:

https://wiki.teltonika.lt/view/How_to_configure_remote_access_to_LAN_devices_in_RMS%3F