LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2014, 01:44 PM   #1
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Pop!_OS && Windows 10 && Arch Linux
Posts: 830

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Question about OpenVPN client stuff.


hello ppl.

i have a question about OpenVPN client set up.
i bought a VPN connection for a month, all is working nicely except one thing, ill have to manually enter username and password.
Quote:
bash-4.2# openvpn --config /etc/openvpn/client.conf
Mon Sep 29 20:31:28 2014 OpenVPN 2.3.2 x86_64-slackware-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Oct 12 2013
Enter Auth Username: xxx
Enter Auth Password:
is there a way to put username and password to the conf file? so i dont have to manually enter'em.
 
Old 09-29-2014, 01:55 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Use a passwordless key/cert?

Or are you stuck with the password entry? If so, you can use --auth-user-pass from the command line. Although its INSECURE to do so!

Last edited by szboardstretcher; 09-29-2014 at 01:57 PM.
 
Old 09-29-2014, 01:58 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
Use a certificate:
https://openvpn.net/index.php/open-s...ion/howto.html
(Proceed to the section about certificates)

jlinkels
 
  


Reply

Tags
password, username, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Directing OpenVPN client's traffic through the OpenVPN server mohtasham1983 Linux - Networking 1 01-17-2012 07:44 PM
OpenVPN assigning public & static IPs to pcs/devices behind an OpenVPN client dgonzalezh Linux - Networking 6 07-18-2010 10:50 AM
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 03:20 AM
openvpn question: one client computer with multiple server installations mr94040 Linux - Server 3 09-20-2009 02:55 PM
Openvpn client to client routing question soup Linux - Networking 0 02-16-2006 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration