11341 questions

13516 answers


31677 members

0 votes
88 views 6 comments

I Have just bought the TRB140 to use as a VPN Client, from my ISP i got

  • a config file
  • the public IP of the server
  • Port
  • username
  • password

I tested it in the windows VPN client and by just giving it the config file username and password it works, now on the TRG i have it setup like the image but it doesn't work, can somebody help me out? 

1 Answer

0 votes

Have you tried to set authentication algorithm to none?
Yep, it doesn't work and they gave me the windows client asks me for username and password, so i think it's needed.

I would like you to attach a troubleshoot file to your question to check the log messages. Please, replicate the issue, then access router's WebUI, go to System -> Administration > Troubleshoot section and download troubleshoot file from there.




The logs show the following error: 

neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'.  If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.

Here are a couple of things you can try:

  • Edit the ovpn configuration file and delete this line: auth-user-pass. It might conflict with the credentials you enter from the WebUI.
  • Instead of entering the username and password, access the router via SSH/CLI and create a file with your credentials. enter the following commands:
    • cd /etc
    • vi client.txt
    • Press i letter to start editing, enter username in one line, password in another, press esc button, enter :wq and press Enter.
    • Edit your openVPN config file option auth-user-pass /etc/client.txt
    • If the following option does not work, replace it with askpass /etc/client.txt

You can read more about the issue here:





Also, the firmware you use is quite old, you can download the latest file from here.

Best regards,

That fixed the issue, now i need to get packets from my lan to the device behind the teltonika router, my plan was to port forward traffic sent to the teltonika vpn ip in the teltonika lan , would it work?

Without knowing much about your topology, I suggest checking the example in the following link: https://wiki.teltonika-networks.com/view/Camera_access_from_VPN.

It shows how to access devices behind RUT via VPN network using and port forwarding. The interface in screenshots is from the older firmware version, however, current configuration is similar.

Best regards,