{"id":306,"date":"2013-04-30T10:13:37","date_gmt":"2013-04-30T08:13:37","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=306"},"modified":"2013-04-30T10:18:33","modified_gmt":"2013-04-30T08:18:33","slug":"how-to-store-usernamepassword-for-the-ssl-vpn-client","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=306","title":{"rendered":"How to store username\/password for the SSL VPN Client"},"content":{"rendered":"<p>You can store the username\/password in a file.<\/p>\n<p>This avoids the enduring pop-up-window asking for your credentials.<\/p>\n<ol>\n<li>Goto the Astaro SSL VPN client installation directory, this is normally stored in:&#8220;C:\\Program Files\\Astaro\\Astaro SSL VPN Client&#8220;<\/li>\n<li>Change to the subdirectory &#8222;config&#8220;.<\/li>\n<li>Change into the appropriate connection directory, this is normally called something like &#8222;username@remote-ASG-DNS-name&#8220;.<\/li>\n<li>Edit the .ovpn file using\u00a0Windows &#8222;Notepad&#8220; editor or a similar &#8222;dumb&#8220; editor, not Winword!<br \/>\nAt the end of the .ovpn file, insert the following line:<br \/>\n<code>auth-user-pass SecretPasswordFile.txt<\/code><\/li>\n<li>Save the ovpn file and create the new file SecretPasswordFile.txt inside the config-Directory.<\/li>\n<li>Again, use the notepad editor.\u00a0In the file, simply insert two lines, the first line with the username, the second with the password of the SSL VPN user, and save the file.Example:<br \/>\n<code>username<\/code><br \/>\n<code><code>mysecretpassword<\/code><\/code><\/li>\n<\/ol>\n<p>If you now connect to the ASG using the SSL VPN connection you just edited, no username\/password prompt will occur.<\/p>\n<h5><em id=\"__mceDel\">Quelle:\u00a0<em id=\"__mceDel\"><a href=\"http:\/\/www.sophos.com\/de-de\/support\/knowledgebase\/116185.aspx\">http:\/\/www.sophos.com\/de-de\/support\/knowledgebase\/116185.aspx<\/a><\/em><\/em><\/h5>\n","protected":false},"excerpt":{"rendered":"<p>You can store the username\/password in a file. This avoids the enduring pop-up-window asking for your credentials. Goto the Astaro SSL VPN client installation directory, this is normally stored in:&#8220;C:\\Program Files\\Astaro\\Astaro SSL VPN Client&#8220; Change to the subdirectory &#8222;config&#8220;. Change into the appropriate connection directory, this is normally called something like &#8222;username@remote-ASG-DNS-name&#8220;. Edit the .ovpn [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-306","post","type-post","status-publish","format-standard","hentry","category-vpn"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=306"}],"version-history":[{"count":9,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}