Sent Tony an email like 2 days ago regarding this specific question and literally 2 days later this man comes out with the perfect tutorial! Appreciate your help so much dude!!
@TonyTeachesTech3 жыл бұрын
Happy to help you out!
@thebusinesscentre Жыл бұрын
@@TonyTeachesTech I have not mailed tony yet. But that man has helped me more than anyone. And I wish to thank him for his help! ❤
@tabbytobias2167 Жыл бұрын
@@TonyTeachesTech you are awesome, you have basically every tutorial on every piece of tech.
@CoachGarcia Жыл бұрын
Where did you found his email I am trying to contact him thanks
@KyraTheFloof7 ай бұрын
Yo thank you so much for making this shit, saved my ass so much money.@@TonyTeachesTech
@alexismc1111Ай бұрын
if you get this error: "Depends: libssl1.1 (>= 1.1.1) but it is not installable".... change the name "focal" to the name of your ubuntu version
@LadyMaria-c2e6 күн бұрын
My fucking xhai! Fixed it by replacing focal with noble (noble is ubuntu 24.04). Easy ass fix.
@paulhaubourdin6234 Жыл бұрын
Things have changed a bit: first off when adding the repositories you have to change the name of the ubuntu version you're using (in my case I changed "focal" to "jammy", also the default password for the openvpn (admin) user is given in the terminal when finished installing (so you cannot use "passwd openvpn" command anymore).
@stejothepisto11 ай бұрын
Paul, I think I might love you. Thanks
@tigerhatestobi28904 ай бұрын
Hero of the people
@thmgarnier Жыл бұрын
Hey Tony, i am getting this error when installing openvpn-as: The following packages have unmet dependencies: openvpn-as : Depends: libssl1.1 (>= 1.1.1) but it is not installable E: Unable to correct problems, you have held broken packages.
@CoachGarcia Жыл бұрын
Unfortunately I am having the same problems I see after 6 months you got no reply
@jokkmokk62389 ай бұрын
you aswell @@CoachGarcia
@ilona7051 Жыл бұрын
Don't forget to run as superuser (root), or use 'sudo' before every 'apt' command. You can change to superuser/root mode by running 'sudo su -' in the command line.
@MattDanner32 жыл бұрын
Run "ovpn-init" if you are having issues with the username / password.
@make100003 жыл бұрын
can you make a tutorial similar to this but for WireGuard
@TonyTeachesTech3 жыл бұрын
Something I can look into
@nghia96285 ай бұрын
This probably a dumb question: But if i host an Ubuntu server at home as Access server using Openvpn, do i need to config the router (such as Enable VPN or Forward port) so i can ssh to the server remotely?
@thegerman12394 ай бұрын
No you need a reverse proxy to access it from the outside. I recommend Apache, but it might take you a while to configure it right. Good Luck if you are still intersted! :)
@nghia96284 ай бұрын
@@thegerman1239 Thank u for the answer, after make some searching I decided to go for the Tailscale and got exactly what I need without any complicated configuration:))
@nurferdi89942 жыл бұрын
hi can u help me i use Ubuntu 18.04 i want to install open vpn-as in putty and then it says unable to correct problems, you have held broken package , what should i do ?
@Lebyy Жыл бұрын
After running apt install openvpn-as it doesnt show me a link after installing
@endeshaw10005 ай бұрын
I cannot install the dependency libssl1.1 as it was removed from the ubuntu repository due security concerns - Maybe because of the recently poped up xz-CVE? Do already a workaround for this exists?
@smilaise3 ай бұрын
Its pronounced ooBOONtoo
@ecmthr Жыл бұрын
Hi Tony, I have "Ubuntu 22.04.2 LTS" and I got this error on installation time: The following packages have unmet dependencies: openvpn-as : Depends: libssl1.1 (>= 1.1.1) but it is not installable E: Unable to correct problems, you have held broken packages.
@iury4527 Жыл бұрын
same here
@kiril135790 Жыл бұрын
same
@心蕊-n7q Жыл бұрын
@@kiril135790 use ubuntu 20 and 22 version have this error
@pancerny5658 ай бұрын
following all and unfortunate "Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@xasbjornkx-0-1:~# apt install openvpn-as Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: openvpn-as : Depends: libssl1.1 (>= 1.1.1) but it is not installable E: Unable to correct problems, you have held broken packages." Use ubuntu 23.10 any help?
@jjbesp2 жыл бұрын
Great video but I'm having some trouble getting it to work on a virtualbox VM running on my home PC. I'm using the virtual appliance provided by openvpn on their website and set it up using all defaults, but it uses the private ip. When I switch to my public ip in the access server I can no longer connect nor import profile :(
@reachmind.4112 жыл бұрын
I really owe you one dude. After hours trying by other guys yours worked ! You won a new subscriber.
@TonyTeachesTech2 жыл бұрын
Thanks for the sub!
@snowysysadmin592 жыл бұрын
Short, sweet and to the point. SIMPLE
@TonyTeachesTech2 жыл бұрын
:)
@DeepThakkar2 жыл бұрын
Hi @Tony, I installed OpenVPN on Ubuntu Server, hosted on Oracle Cloud. I am able to connect to the OpenVPN using client from a windows PC, but after getting connected to the VPN, internet is not working. Please help.
@ignasi_83102 жыл бұрын
Can u help me i have a problem when i install openvpn i can acces to the login page but when i type the command openvpn passwd it says that the use doesn't exist
@ignasi_83102 жыл бұрын
i have got the solution just getting to the directory /usr/local/openvpn_as/scripts/ and using command ./sacli --user openvpn --new_pass 123 SetLocalPassword
@TonyTeachesTech2 жыл бұрын
Happy you figured it out
@gorazdnovsak3705 Жыл бұрын
I attempted to ask on your webpage but it looks like reCaptcha is broken. Is this also limited to 2 users as is image on OpenVPN page or is unlimited users?
@abdinasirmoalin28492 жыл бұрын
Thank you very much. Your explanation made it so simple. I watched others a lot. Luckily I found your when I had to give up. The way you showed was even easier and effictive teaching than the ready-made templates. Thank you again
@anirbandas6257Ай бұрын
This is OpenVPN Access Server not Community Edition, make it clear in your title.
@Dean-rs2ntАй бұрын
This is good from a local / lab point of view, but this is no good as a means to connect to you network from somewhere else... What you have implies a static ip address.. but most vpn setups such as this will require a DDNS setup in order to connect a vpn
@hallercory2 жыл бұрын
Man. I really appreciate your tutorial. Learned a lot and it makes managing my plex server so much easier.
@codemind1822 Жыл бұрын
Thanks Tony I did it. For newer versions you don't set a password. Also in my server passwd openvpn does not work it says openvpn user does not exist in my linux. Nowadays passwords are created automatically by the server. Once you set it up, server assigns a password. If you happen to miss it, to recover that password, simply type cat /usr/local/openvpn_as/init.log This will give your login password like To login please use the "openvpn" account with "somPass-SLDJKSLFj235" password
@tmati7860 Жыл бұрын
Thanks a lot bro.
@Erick1012712 жыл бұрын
Hi, I tried to setup the same as you discussed. But Im not getting internet when I turn-on the client app. I actually used Virtual Machine using Virtual box to setup the OpenVPN server ? Is this might be the issue?
@Stev.3n2 жыл бұрын
Awesome guide. Was going to use the OVA template from them, but this worked out much better to setup it and run my unifi controller on the same server.
@TonyTeachesTech2 жыл бұрын
Glad it helped!
@atharvmukane47689 ай бұрын
I have forgot my openvpn access server admin password. Plus, when I try "passwd openvpn", It says "passwd: user 'openvpn' does not exist". Please help me solve this. Thankyou.
@josiahv92 Жыл бұрын
Great video! Bold to share your IP like that, but I like bold 👍
@RINEGANALQUIMISTA3 ай бұрын
The video was excellent, BUT it does not apply to servers at home, because everything comes out as localhost ip
@splitee3 жыл бұрын
yo, this was a great video, very easy to follow along. Thanks! subbed btw
@TonyTeachesTech3 жыл бұрын
Thanks!
@JustLikeHammer2 жыл бұрын
Thanks to your tutorial I do managed to setup my own VPN. It was pretty hard for me because I'm totally new to linux. Whatever Thank you man!
@TonyTeachesTech2 жыл бұрын
Glad it helped!
@rayreyes39222 жыл бұрын
Thank you so much for taking the time to teach us. I have a question, why is it that it grabs my private IP instead of the public IP?
@mhaggagegy Жыл бұрын
I have faced the same problem. I couldn't find a solution.
@coding361711 ай бұрын
@Tony Please help
@anakinskywalker6728 Жыл бұрын
very much THANK you! i spent two day reading forums, and couldn't look find a good solution. i'm just learning linux system
@TonyTeachesTech Жыл бұрын
You're welcome!
@Fireflierification2 жыл бұрын
Great video! I am puzzled though how it works so effortlessly for you.. I am able to get the server up and running, access it remotely by my public WAN IP with portforwarding and download the OpenVPN Connect client. This is where the fun stops... Can't connect to the Access Server from my remote machine where I installed the client... I am running the Access Server on an Ubuntu Server 20.04 in VMware pro. If you or anyone else has a solution to this it would be greatly appreciated. I wanna use this badly for my final exam project.
@TonyTeachesTech2 жыл бұрын
Not sure why it's not working for you as it did for me??
@Mikeb81342 жыл бұрын
Thanks!
@TonyTeachesTech2 жыл бұрын
You bet!
@alanhiggins25212 жыл бұрын
This is my first Ubuntu server/ OpenVPN set up. I have typically used the built VPN service built into my home router however i decided to build my own VPN server to access my resources at home. This video appears to be what i need to accomplish this task however since it's my first attempt, do you have a video that goes over the steps/configuration to access my LAN resources with security in mind.
@TonyTeachesTech2 жыл бұрын
No sorry I don't have a video on that topic
@RoyHess6662 жыл бұрын
found this tutorial, since I've ever managed openvpn via command line only so far. Installed openvpn-as on a freshly installed testing vm on ubuntu 20 but I cannot for the sake access the admin panel, it shows eula to accept, but sends me right back to the login screen.. what a brilliant piece of software this is. username and password are correct, accessing it from different browsers, still the same.
@pwchan74433 жыл бұрын
how about OpenVPN Community edition? cuz i dont see so much about it from google or youtube. most likely openvpn AS edition only(like what u did in the video)
@TonyTeachesTech3 жыл бұрын
Yeah I would think similar steps
@CloudGirl Жыл бұрын
I try install on my VDS - Ubuntu but.. I have failure message: This page is not working, web has not sent any data. When i try login to admin
@L3gion3r Жыл бұрын
I get an error at the wget line "apt-key is deprecated". E: this command can only be used by root. Also, I get Access denied at the echo "deb..." line as well
@asce313 Жыл бұрын
same for me as well, did you find a solution?
@Partaz Жыл бұрын
same, not sure what to do
@TheIncredibleFaf8 ай бұрын
OK, I am not sure if Tony will see this but I feel I am stuck literally on the last step. Using Linux, when I am trying to import user profile, I get a SSL error. More specifically, this is the error message, Failed to download configuration profile: [] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain But even if you dont respond, thank you. At least, I am stuck at 99% after groping in the dark for an eternity.
@boldbuzz2 жыл бұрын
Thanks for the Tut, but I'm having issues connecting. For some reasons unknown to me, after running the OpenVPN installer, the IP always default to my ubuntu private IP instead of the public IP, and it doesn't open the OpenVPN admin page with the private IP but when I put the public IP, it opens the admin UI. Same thing is happening on the OpenVPN client, the IP is also default to the private IP. Is this normal? Is the IP supposed to be the private IP? If yes, why then does it refused connection. I have tried this using Oracle Cloud always free tier and also tried this on Amazon AWS. Both having same issues. Please your assistance is appreciated. Sorry for the long note 😊
@TonyTeachesTech2 жыл бұрын
OpenVPN should be using your public IP. That is the normal behavior. Any update on your end?
@boldbuzz2 жыл бұрын
@@TonyTeachesTech It still refuse to connect on the client app. But on AWS, I had to go through their app section then install it through there and it doesn't default to the private IP on the client side which allows it to connect. Anyways thanks alot for your tutorials.
@hamon35332 жыл бұрын
Thank you so much i just started my vpn server. How can i restart the server without reinstalling?
@siddharthsharma8714 ай бұрын
when you login into the openvpn UI , we saw there was line which was saying only 2 vpn connection allowed. so if wanna setup this openvpn server for my 50 member of team member. will this setup work or we have to purchase the Paid plan?
@rayoseldev819 Жыл бұрын
min 3:22 apeear private ip not public :S where can i change it? :S
@biancas13 Жыл бұрын
help, my user never connects and failure after connection timeout my server has the ports tcp 443, tcp 943 and udp 1194 open. I dont know what is happening, Can someone help me?
@Shredzter Жыл бұрын
Can I do this with Kali or is this Ubuntu exclusive?
@rafiekalibuxful Жыл бұрын
Thanks, I just succesfully installed openvpn on ubuntu server 22.04. Can you explain how to create the config file .ovpn, which we can use for android devices. I want to connect to my vpn server at home from outside. tnx
@TanteReganeАй бұрын
how do you add more location on it
@emilstomehoff44656 ай бұрын
Hi, Tony can you make the same tutorial with the OpenVPN community edition where we have no limitation of the connections(licenses). Thank you
@jonaskofoed1470 Жыл бұрын
Hi Tony. Do you know how to set it up for Remote access?
@atharvmukane47689 ай бұрын
My VPN profile is stuck on loading when trying to connect and after a while says connection timed out. Dont know what I did wrong. Please help.
@JPabloDonayreQuintana Жыл бұрын
How to use VPN for sharing critical data of my company ? I mean, how to setup my company website in order to access only if im using a specific VPN ?
@tmati7860 Жыл бұрын
I did everything stpe by step and when I'm going to reach the admin page or even my IP address with 943 port, the page doesn't load and I get this message from browser: "This site can’t be reached"
@PositiveDay65432 жыл бұрын
"self-hosted VPN", more like paying for digitalocean for a ssh and do the hosting
@HuDz1966 Жыл бұрын
With the VPN active is all data passed through the VPN now encrypted?
@benxinsai Жыл бұрын
I installed openvpn in my ubuntu but the admin address is my private ip address instead of the public ip address provided by Microsoft azure, could someone help to answer?
@HisLoveArmy7 ай бұрын
So my self hosted box is not working. On my client i get the error "peer certificate verification failure" I even removed my cert and added a new one and it is still not working.
@djordje1999 Жыл бұрын
i can't pass a licence agreement.. it constantly logs me out.. type username and password, get licence agree button, just click to reload and boom im logged out again..
@m1schief102 жыл бұрын
great video , but when I want to add oepnvpn to my repository list , it won't work , I get an error " Try `wget -- help for more option " , I triple check it , I'll do everything as you say .
@mdatiqmazumder Жыл бұрын
Awesome Brother..give me a suggestion or a video how can i forword my port using openvpn hosted on my vps..please
@TimCulenko Жыл бұрын
Try Vpnhouse, a normal service, and it is installed many times faster. 9 more minutes to spend))
@BlueDolphinBlues4 ай бұрын
Do a video on installing open VPN without access server
@EpochIsEpic2 жыл бұрын
Sweet, as soon as oracle finishes setting my account up I'm installing this on one of the free servers. I'm sick of playing lost ark with the crappy speeds from free VPNS lol.
@Beardbarian466 ай бұрын
it doesnt show me the IP Addresses also they dont work. am i missing any command to launch the server?
@afshaarahmed2114 Жыл бұрын
if i want to access some specific domain through OpenVPN then?
@mahbodomidi3063 Жыл бұрын
I done all of them but when I wanna enter admin panel I face incorrect login error even my password is correct, what is my username? it's not openvpn
@vineetsharma52332 ай бұрын
Thanks @tony😊😊
@quanghuypham5789 Жыл бұрын
Can I use these installation steps in Ubuntu 22.04.2 LTS ?
@DaOnlyOppYouFear. Жыл бұрын
Can someone help me setup centos 7 I have a ovh
@khartiss Жыл бұрын
i connected on the shell got the admin IP and password, although on the Web UI it does not connect, anyone please help?
@-Vishal-of3he27 күн бұрын
The only guide thats actually beginner friendly
@farshadtalebi1849 Жыл бұрын
when I install openvpn and finish aftar type passwd openvpn show this error "user 'openvpn' does not exist' please help
@stejothepisto11 ай бұрын
I can only connect while I'm on my home network.. How do I fix this?
@CoachGarcia Жыл бұрын
How come you didnt need to port foward port 1194 to be able connect on your open vpn ? Usually u need to do this
@montala33802 жыл бұрын
Hi, how to install SSL for openvpn access server? by default, the connect to admin and client UI is not secured
@fahimshafahi4388 Жыл бұрын
my iphone can not connect to the VPN-Server when i am out of the network. how can i fix it. how to connect to my home vpn server from another network? thank you.
@jacobanderson95302 жыл бұрын
Great video! :) Just to let you know "apt-key add -" does not work on ubuntu 22.04
@DeadVoidzzz9992 жыл бұрын
yeh thats where i ran into some issues too lol
@it-expat-china2 жыл бұрын
Thanks Tony for this great tutorial which I followed through and successfully creatd my OpenVPN access server. I just want to mentiona that as of writing this comment, it seems that this access server setup doesn't generate a user account "openvpn" anymore. Instead you are getting a new "openvpn_as" user on the Ubuntu system. Also, you'll have to open up port 943 (tcp) for the admin portal to be accessible through web browser. In addition, port 443/tcp and port 1194/udp will be used by open VPN service itself for client to connect. Hence above mentioned ports shall be open on the Ubuntu ufw and relevant security rules from the cloud hosting service provider.
@derfinlay58542 жыл бұрын
hi, i changed the openvpn_as user password but the web GUI says the credentials are invalid, any suggestions? Thank you.
@rogedgames2 жыл бұрын
@@derfinlay5854 any fix?
@derfinlay58542 жыл бұрын
@@rogedgames yes. Run sudo ovpn-init
@biggiantcookie2 жыл бұрын
@@derfinlay5854 This was the solution I was looking for, Thank you!!!
@derfinlay58542 жыл бұрын
@@biggiantcookie sure
@jaydentechvids2620 Жыл бұрын
Thank you for the video! Do you know how to set up the vpn server to not change the ip? I want to access my linux server outside my network. For example, I want to access samba server, cockpit, and home assistant outside the network.
@dorpix99742 жыл бұрын
I went through all the steps, but when I entered the admin's IP in the browser, no page came to me
@farshadtalebi1849 Жыл бұрын
thank mr Tony.I have problem can you help me?
@Maxiwee2 жыл бұрын
I got a problem everytime I get an error saying it failed to automatically configure it and if try to do it manually it fails saying there are errors in the python script
@jyudat4433 Жыл бұрын
thanks for this ! did this right after Canadian bill c-11 (censorship) passed on my American vps
@othmankial3 ай бұрын
hello, thanks for the video, i wanna ask where I can find that address that u inserted after @ thanks in advance
@USMCLEHMANN2 жыл бұрын
i followed this video to the T, no matter what i do it never changes my ip. can anyone help?
@dauts Жыл бұрын
Outdated, this isn't a good video
@manibarma94782 жыл бұрын
After got url to access openvpn on browser it's not opening for me, ll traffic is opened , can you suggest here ?
@arminbrkic841 Жыл бұрын
I did everything in tutorial but cannot connect in the end, connection timed out, nothing in logs
@erichart2072 Жыл бұрын
Dude, I've been trying to configure one of these for years on an old vps. Every guide I found was crap. This was perfection, had it all up and running in about 30 mins. Thank you!!!!!!!
@TonyTeachesTech Жыл бұрын
You're welcome Eric!
@linuxuser145 Жыл бұрын
I just use protonvpn it's also free if you want
@JoseRodriguez-os3qv3 жыл бұрын
amazing Tony your videos are great appreciate you
@TonyTeachesTech3 жыл бұрын
Thank you very much
@coding361711 ай бұрын
@@TonyTeachesTech it is using my private ip address so i cant access it how can i fix it?
@sgaurav-g6k Жыл бұрын
I have finished the admin login step and not getting how to login as a user in ubuntu
@cyberjack Жыл бұрын
i run everything through tor
@Nova-Rift2 жыл бұрын
I don't see how you got the client gui installed and showing.
@ahmedu921 Жыл бұрын
Hi Tony , Please can you do a video about how to automate the openVpn installation using Ansible playbook
@adrianpadilla1425 Жыл бұрын
*correction post edit ...thank you for this tutorial I have it installed and working but one thing I need help with..when I connect to my network via vpn I can not see any printers on my connected network....any hep would be greatly appreciated
@ysfkyya Жыл бұрын
Thanks for the video. i have a question: i did the installation steps and when i clicked the link, This site can’t be reached. What is the reason for this error? what should I do?
@HisLoveArmy Жыл бұрын
Do you have any videos showing how to limit users to say just 1 server on the network?