www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

How and where to input VPN auth passwords?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> VPN
View previous topic :: View next topic  
Author Message
Uksindus



Joined: 10 Mar 2017
Posts: 4

PostPosted: Fri Mar 10, 2017 3:00 pm    Post subject: How and where to input VPN auth passwords? Reply with quote

Hi,

I have acquired a VPN service from a commercial service provider (NordVPN), where I received an .ovpn file and a list of servers.

Everything works great on a client machine - input 'openvpn [given server name]', and when prompted, input your username and password and everything's peachy.

I can also make the vpn work on the zeroshell machine via command line (of course then I'll lose all internet connectivity on client machines). I would like my ZS box to handle the VPN connection automatically and tunnel all traffic from certain clients to VPN.

LAN-to-LAN VPN page on zeroshell isn't very intuitive, but I got to the point that it tries to connect to VPN service provider, but fails due to username/password not being able to input. (Also without commenting out the ping directives in .ovpn file results in errors that do not do that in pure commandline?)

Putting username/password in a file and inputting "--auth-user-pass /path/to/file" results in a "Sorry, 'Auth' password cannot be read from a file" log message.

Question is - where to input auth username and password and how? Searching the forum seems that many have used the aforementioned --auth-user-pass directive, but does that require a custom compile of the client?
Back to top
View user's profile Send private message
Uksindus



Joined: 10 Mar 2017
Posts: 4

PostPosted: Mon Mar 13, 2017 9:03 am    Post subject: Reply with quote

Pfft, VPN works fine when I upgraded zeroshell to the latest version, it seems that the old versions don't have the --auth-user-pass option enabled.
Back to top
View user's profile Send private message
mariad



Joined: 16 Feb 2017
Posts: 30

PostPosted: Mon Mar 20, 2017 1:33 pm    Post subject: Reply with quote

Have you tried putting up a manual dialler. I think that should help you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> VPN All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group