6386 questions

7720 answers

12533 comments

8402 members

0 votes
658 views 3 comments
by

Hello, i have configured OpenVPN server on Teltonika 240 RUT router and openvpn client on PC. Server and client has connected, but now i have issue, i can't ping or access my devices that is in router lan from my client side.I tried to use push route option but i can only ping my router. Someone has any idea what i should do, to be able access my lan devices? 

adding configuration screenshots

 

Teltonika routes

Cient config:

remote 193.217.1.59 1194 udp4

client

dev tun

remote-cert-tls server

nobind

tls-client 

tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"

cert "C:\\Program Files\\OpenVPN\\config\\client1.crt"

key "C:\\Program Files\\OpenVPN\\config\\client1.key"

cipher AES-128-CBC

auth SHA256

comp-lzo

persist-key

persist-tun

log openvpn.log 

verb 6

mute 100

Client pc routes

i think something is bad with routing. 
my server virtual network is 10.0.0.1
virtual local endpoint  10.0.0.6
virtual remote endpoint 10.0.0.5
Client PC IP adress 192.168.10.104
Lan addresses that i want to reach:
PC 192.168.1.112
PLC 192.168.1.22
i have no idea what to do next stuck on this problem for few days now.

 

by
Hi Laimonas

Did you get this working? I have the exact same issue with an RUT950. It's almost as if the RUT's firewall is blocking all traffic between LTE and LAN.

LAN-side works fine by itself, and I can tunnel (OpenVPN) to the RUT device just fine. I now need to connect to the LAN remotely but no joy. Firewall is wide open.

Driving me mad for 2 days now.

1 Answer

0 votes
by

Hello,

Try setting Static route in yours RUT240 to your OpenVPN server LAN network using server as a Gateway. How and where to add it you can find in this thread, a little bit bellow original question.

Hope this helps.

Best regards,
VidasKac.

by
Still no luck by following your mentioned thread.

what i have to choose in Routing table section? main, wan, wan2 ?

what to choose in interface section? Lan?

And if there is push option configured in server do i need disable it or its doesn't matter?
by
Keep table as main, but for interface you should choose tun (openvpn)

Push option should stay. It is for server, static route is for client to know where to forward traffic. In previous thread problem was that they did not configure push options to new client