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
376 views 2 comments
by anonymous

Hi,

We are using a central OpenVPN server with many site to site tun OpenVPN servers, on the other end, we have RUT950 with .conf file we made, including shared key.

Once VPN is configured, computers behind the RUT950 do not have access to the internet anymore. They can be accessed through our VPN server, but they cannot connect to internet.

If we try to ping google.com for example, it will return google's DNS ( DNS server is RUT950 ) but will not be able to connect.

We have tried to push 0.0.0.0/1 and 128.0.0.0/1 with net_gateway, but it is not working neither.

Server config file are as follows :

cipher AES-256-CBC
local LOCALIP
port LOCALPORT
dev tun
ifconfig X.X.X.1 X.X.X.2
secret XXX.key
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
push "route 192.168.X.0 255.255.255.0"
push "route 192.168.Y.0 255.255.255.0"
push "route 172.Z.Z.0 255.255.255.0"
push "route 172.A.A.0 255.255.255.0"
route LOCALRUTLAN 255.255.255.0
log /var/log/openvpn-YYY.log
verb 3

Client config files are as follows :

cipher AES-256-CBC
remote VPNSRV VPNPORT

dev tun
ifconfig X.X.X.2 X.X.X.1
<secret>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
AAAAAAAAAAAAAAAAAAAAAAAAAA
-----END OpenVPN Static key V1-----
</secret>
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
route 192.168.X.0 255.255.255.0
route 172.Y.Y.0 255.255.255.0
route 192.Z.Z.0 255.255.255.0
route 172.Y.Y.0 255.255.255.0
route 0.0.0.0 128.0.0.0 net_gateway
route 128.0.0.0 128.0.0.0 net_gateway
route 147.135.181.80 255.255.255.255 net_gateway
verb 3

 

1 Answer

0 votes
by anonymous

Hello,

Thank you for reaching out!

Could you describe your topology? IS the server and router physically in the same private network?

Is the OpenVPN server also running on a Teltonika router? Are other VPN clients receiving the internet connection?

I'd like you to attach a troubleshoot file to your query. This can be done by navigating to System → Administration → Troubleshoot.

The file will only be visible to Teltonika moderators.

Awaiting your response,

Best regards,

DaumantasG

by anonymous
Hi DaumantasG,

Did you receive the files ? Please tell me if there is anything else I can send you to help you,

Regards,
by anonymous
Hello,

Thank you for the files.

Would a factory reset be possible on this device? I believe this might be an issue in configuration files.
If that does not help, I'll inquire about this issue with our RnD team.

Best regards,
DaumantasG