openvpn-as-bundled-clients-19.deb

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Fri Oct 15, 2021 8:54 pm

# sudo dpkg -i openvpn-as-bundled-clients-19.deb openvpn-as_2.9.5-82d54e5b-Ubuntu20_amd64.deb

When I run that command, I get, "dpkg: error: cannot access archive 'openvpn-as-bundled-clients-19.deb' : No such file or directory"
I read that it's better to download the file first, then unpack and install it. I tried using # wget, but that didn't work either.

Referring to the link, https://openvpn.net/vpn-software-packages/. I couldn't use Option 1, but Option 2 did work up to line 3.
Need help please.

netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

Re: openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Fri Oct 15, 2021 9:31 pm

I just tried to run the last line from option 1 "# sudo apt update && sudo apt -y install openvpn-as" and got the following lines...

Reading package lists... Done
Err:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Reading package lists... Done
Building state information... Done
All packages are up to date.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-updates InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openvpn-as

netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

Re: openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Fri Oct 15, 2021 9:41 pm

I even tried running the last line in option 2, "sudo dpkg -i openvpn-as-bundled-clients-19.deb openvpn-as_2.9.5-82d54e5b-Ubuntu20_amd64.deb"

[sudo] password for administrator: xxxxxxxxxxxxxxxxxx
dpkg: error: cannot access archive 'openvpn-as-bundled-clients-19.deb': No such file or directory

netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

Re: openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Fri Oct 15, 2021 9:55 pm

netwerkingnut wrote:
Fri Oct 15, 2021 9:31 pm
I just tried to run the last line from option 1 "# sudo apt update && sudo apt -y install openvpn-as" and got the following lines...

Reading package lists... Done
Err:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Reading package lists... Done
Building state information... Done
All packages are up to date.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-updates InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openvpn-as
_________________________________________________________________________
Well, that's embarrassing! I had the network cable in the wrong computer! DOH!!!

$ sudo apt update && sudo apt -y install openvpn-as

Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 214 kB in 1s (301 kB/s)
Reading package lists... Done
Building state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openvpn-as

netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

Re: openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Fri Oct 15, 2021 10:24 pm

I clicked on the orange button, "AS 2.9.5 for Ubuntu 20, 64 bits", downloaded it on this other computer, and copied onto a thumb drive hoping to copy it over to my Ubuntu Server, but I'm at a loss as to doing that from CLI. I tried to locate my thumb drive but Ubuntu Server 20.04.3 LTS apparently cannot find it.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: openvpn-as-bundled-clients-19.deb

Post by openvpn_inc » Sat Oct 16, 2021 11:34 am

Hello netwerkingnut,

90% of this forum post is about networking issues and therefore the installation couldn't succeed. If we look beyond that, then we get to the actual installation steps for Access Server on Ubuntu 20. There are two options. You can copy/paste the installation instructions and run those, and everything will install. Or, you can do the secondary offline installation option, which you appear to be trying. I would recommend that you do not do that. I recommend that you follow the normal installation instructions.

Go to https://openvpn.net/vpn-software-packages/
Click on the Ubuntu icon.
Copy/paste the lines in the black box and execute them line by line on your system.
Done.

Good luck,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

netwerkingnut
OpenVpn Newbie
Posts: 12
Joined: Thu Oct 14, 2021 2:55 pm

Re: openvpn-as-bundled-clients-19.deb

Post by netwerkingnut » Wed Oct 27, 2021 2:48 pm

Ok, Johan. Thank you for your response. I've identified and resolved my network issues but I'm still experiencing issues trying to get the openvpn-as to download using the recommended commands listed below...

1. apt update && apt -y install ca-certificates wget net-tools gnupg
2. wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list
3. apt update && apt -y install openvpn-as

For some reason, I keep getting...

-bash: /etc/apt/sources.list.d/openvpn-as-repo.list: Permission denied
--2021-10-27 14:29:53-- https://as-repository.openvpn.net/as-repo-public
Resolving as-repository.openvpn.net (as-repository.openvpn.net)... 104.18.109.96, 104.18.110.96
Connecting to as-repository.openvpn.net (as-repository.openvpn.net) | 104.18.109.96 | :443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3175 (3.1K) [binary/octet-stream]
Saving to: 'STDOUT'

- 0%[ ] 0 --.-KB/s in 0s

Cannot write to '-' (Success).

Post Reply