11341 questions

13516 answers

21178 comments

31677 members

0 votes
88 views 6 comments
by

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
by
Hello,

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

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.

 

by

Hello,

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:

https://github.com/haugene/docker-transmission-openvpn/issues/996

https://forum.netgate.com/topic/111001/openvpn-expressvpn-fatal-error/3

https://www.linksysinfo.org/index.php?threads/openvpn-service-wont-start.75596/

https://bytemeta.vip/repo/Ailme/homeassistant-openvpn-client-addon/issues/2

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

Best regards,

by
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?
by

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,