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
829 views 1 comments
by anonymous
Hi folks!

I've just installed and configured an openVPN server on a VPS with a public IP address.

I've created certified for my peers: a laptop and the Teltonika router.

I've configured my laptop using the generated certified and info held in ovpn file, and it works!

My laptop can get connected to the VPN server and even my Teltonika an do that

but on the Teltonika i've to run the command:

[router shell]# openvpn --client --config teltonikaClient.ovpn

And it works.

If a try to do the same using its web interface, once i've create an

openVPN client and enabled it. I can't see an evindence of functioning.

In the section OpenVPN information i see:

Enabled: YES

status:  tunc

type:client

IP: N/A

MASK: N/A

Time N/A

What i've been missing?

I there a log file somewere tha could help me?

Regards,

G.

1 Answer

0 votes
by anonymous
Hi,

Try to use ifconfig command via SSH, you should see if tunnel is up with ip.

Also you can use logread -f command for more logs.
Best answer
by anonymous
That "logread -f" allowed me to find the mistake:

there was an appropriate value within the field "Extra options".

I've clean it and now it works!

There's now a little annoying detail:

the name of the tun device is ugly, a long string!

I'd like to replace it with the usual "tun0".

Which is that fastest way to do it?

Thx,

G.