A LOT of people are going to stumble over the dynamic IP problem which you've sorta brushed over here. DietPi is a full installation Raspbian Lite with loads of software and it includes this AND NoIp so you can set things up with less worry. It's *vital* to get your dynamic hostname right though because once that's done, you have to start over if you smeg it up.
After you burn the img. to the pi- create a empty text file called *ssh* and put in the */boot* directory. Now you can ssh into the pi on the 1st boot! *NO* need for *HDMI*
Please note that if you do a VPN server with a Raspberry Pi Zero, your internet speed will never exceed 8-12 Mbps because of the speed limitation of the micro USB port and CPU bottleneck. For better speed go with the Pi 4. Also, the Ethernet port in Pi 4 is Gigabit Ethernet port which is no longer throttled by a USB interface (Compared to Pi 3). Yes more expensive but will probably serve you better imo. Or even better is to do a VPN server with an old computer but that take more space and power.
you can actually cut the steps by using OpenWRT (yes rpi supports OpenWRT). once installed just visit the admin page of openwrt. Go to software, install luci-app-openvpn once installed go over to OpenVPN, generate certificates, and start the VPN service. all done. no console commands needed.
says rspi zero isnt compatible ;( but bcm2708 subtarget compiled from a later trunk seems to work. wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
Using the Jessie Lite image is more appropriate for this kind of use case, SSH will already be enabled by default and there's no unnecessary bloat from the desktop environment and associated programs.
+MartinP (bircoe) I totally agree. This tutorial is aimed more towards first time Linux users. Hence the pivpn script instead of doing it all by hand. But I probably should have mentioned Jessie lite more because you are right, it does make more sense.
Beau... love quality you put into your tutorial videos. could you do a live project with the PI, any pi, and teach how to backward diagnose faults with the programming? For those of us that are learning.
Hey man....GREAT video. I am assuming this is using UDP? Is this actually safe? I don't know much about VPNs but is there any risk of something being built in to this auto VPN generator that leaves me vulnerable?
hi, I have a problem when I want to connect to OpenVPN. It says "Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)" what is the problem? can you help me? I already do all the steps.. running on raspberry pi 3
Great video, although I did run into a problem. During the setup, I chose TCP on accident instead of UDP. Thus, I uninstalled the software (but did not uninstall git when prompted). Now, something's messed up with my DNS and I keep getting "failed to resolve host" on pings, curls, and pretty much any type of command that uses the internet. I did some research and found that you can modify the "resolv.conf" file with your own nameservers, but this file is replaced after a reboot occurs. Please help me with this when you get the time.
Great video, thanks so much. Can you please tell me the animation program you used to create animations from minutes 2:04 to about 2:33? That's what I have been looking for. Thanks again
Which VPN is this? The Coffee Shop VPN that lets you get a secure internet, or the Home Network VPN that lets you browse you shared folder when you're not home?
This server can function as both! The server.conf has the line "push "redirect-gateway def1"" in it which makes it so that all traffic is sent over the VPN. Including web traffic. See here: openvpn.net/index.php/open-source/documentation/howto.html#redirect I would also run a tracert command after you connected to the VPN to make sure the traffic looks like it does when you are at home.
And what are the advantages of a VPN? Why would a home user use this? (I´m a complete novice. No intention to offend, just curious) Would this allow me to acces my home PCs from outside the network as if they were in the same network?
No offence taken at all. Always ask questions! this is how we learn. There are many advantages to setting up a VPN and using it when you are not at home. Like you said, you can access home pc's and other resources on your network like network printers, file shares, etc. So for example one time the database for my website went down that I host at my house. I was able to fix it from my phone by vpn-ing into my home network, then SSH-ing into my webserver box and restarting the database. A VPN can also help protect you from people snooping on your traffic while you are on un-secure networks, like a coffee shop or McDonalds or something. Also if I leave the US I can VPN into my home network and get american netflix and other streaming sites. There are probably other reasons that I can't think of right now. If anyone thinks of other reasons, please comment below.
Nice!! Sounds like a thing to look into! great. And will a Pi handle the work well? Does it need to be a beeffee machine? seems like not, but I take that depends on users and traffic. You made a very helpful video. I´ll try all that. Since I hace dinamic IP I´ll try to see how to overcome that part. Will you do another video in the series? As, for example, practical uses of VPN? Your videos are great!
To be honest the PI doesn't handle as well as like a real desktop. I have gigabit internet at my house and gigabit fiber at work and when I tested it I only got 10Mbps speeds. And that was just one user connected. But sometimes I'll connect and forget to disconnect and not notice a real difference until I'm doing a bunch of stuff at once. This is more of a proof of concept. The script should work on any debian based linux distro like Ubuntu/ubuntu server. I hadn't thought of making a series out of it but maybe I should!
As far as the dynamic IP issue, you should look into a service like no-ip. What you need to do basically is have a dns server that will point to your home connection. Now since most ISP uses dynamic IP, You can't just add the DNS server at home. You will need to use dynamic DNS. Dynamic DNS services are simple. You simply host the DNS server elsewhere and install a small software on a pc to update that DNS server with the new IP. (Dynamic DNS is also supported by most consumer routers). NO-IP.com offers 1 free DDNS per user. Then you can either choose betwwen buying a domain or use there subdomains.
What is your process for downloading the software seen at the end of the video (the windows client side openVPN) application? Because I downloaded and ran the 64 bit installer and I'm not able to do what you did when you connected to the Pi from work. The application is just one of those hidden applications that runs in the background. Any feedback at all would be much appreciated!
After I installed the GUI version found here: openvpn.net/index.php/open-source/downloads.html I put the test.ovpn in this folder: C:\Program Files\OpenVPN\config Then I opened the OpenVPN gui and it shows up in the taskbar icons. I then right clicked on the icon and then hovered over "test" and then connected. Hope this helps..
Beau Knows Tech... Stuff Many thanks for the detailed response. I sincerely appreciate the quickness as well! You have earned yourself a subscriber! :)
Great Video, newbie question... I want to use a vpn server at home because I am in hotel room and want a secure connection for my data... But I have limited internet at home... I suppose that it will use alot of my bandwidth and use my limited data If I transfer or stream video from the hotel? Thanks
Thank you for the great video! I haven't seen anybody post this yet, but I just followed the instructions and I am trying to connect my Mac to it through Tunnelblick and I keep getting this error. Tunnelblick: This computer's apparent public IP address (my public ip address) was unchanged after the connection was made is there a fix for this ? it keeps saying the code may be incorrect. Thanks for anyone that can help.
@@BeauKnowsCyber Thanks ALOT for getting back to me on this! I am working on a custom GUI with CANOPEN and wish to remote to these registers if possible. with that bit of info that sounds possible. What does this do yo RAM and physical Memory?
Hello awesome video thank you. I have a question. In my work we have a VPN setup. I didn't setup the company who mange the software for our work requires it and they set it up. Also we have 3 locations so all of them are linked together. the First ip is a 10.1.10.XXX adress the second location is a 10.1.11.XXX address and last one is a 10.1.12.XXX address. And it i do a ping on any one of them networks i can ping like say is i was at 10.1.10.XX location i can ping 10.1.12.XXX and it works. Does this work in the same way? Also Am i secure online when i do this? What i mean is hat say if I'm on the road and I'm at a hotel and connect to there wifi will the VPN protect me?
At your work they probably have a class A network (10/8). And if not they probably have some rules or subnetting that allows for that. That being said, the pihole should allow for similar functionality with default settings. If not, you should be able to modify it to work. And yes with encryption you will be much more secure. A VPN isn't perfect.
I am able to connect to the vpn from my android phone however cannot from my computer using OpenVPN, getting the following error, TLS key negotiation failed, any clues as to how to fix this?
I'm doing it step by step, but why I see only: ( ) 256 Use 256-bit encryption (recommended level) ( ) 384 Use 384-bit encryption ( ) 521 Use 521-bit encryption (paranoid level)?
Not sure if the install has changed, but there seems to be a routing issue ... I followed your video to the T. I can connect but then nothing ... no INET access.
If you can ping 8.8.8.8 (Google's DNS) but can't connect to.. Google.com for example. Then it's probably a DNS issue. Did you happen to set a custom upstream DNS server?
@@BeauKnowsCyber so I cannot ping 8.8.8.8 ... but I also have a Pi3 .. which has an additional WLAN adapter ... so I altered the /boot/config.txt dtoverlay=pi3-disable-wifi dtoverlay=pi3-disable-bt to disable the interfaces I am not using ... still routing (or iptables) is not allowing traffic to pass
Hmm. Interesting. One of me buddies had a similar issue and he just ran the script again and it worked. That's weird that the firewall or routes aren't allowing traffic. I'm sure you'll figure it out. If you can, let me know what the issue was just in case someone else runs into the same problem
all procedure goes well, generates the rsa etc but when I looked with wscp in home/pi/ovpns folder its empty tried 4 times also google nortons and other same result it say it gone through ok after 40min but no test.ovpn file or any file in there
Hey, I finally got it working! I fixed it by using port 443 and using tcp instead of udp. I have a question though, how do you change the username of users or delete them? Also how do you uninstall because I might do this on a actual computer instead of my raspberry Pi.
Has anyone made a Metasploitable style vulnerable OS for Pentesting a Raspberry Pi? Sounds simple enough. Would be pretty cool to have a tiny computer to pentest rather than setup a virtual machine that's running on the "attacking" machine *or* taking up another computer in your home.
+Daxos Maxos you may have to download an app for this (I use Fing) but what happens when you ping 8.8.8.8? From what I've seen online, most people with this problem report it being a dns issue.
My router supports openvpn by default. don't want to set my pi up to be a vpn, but rather connect my rasberry pi to my vpn on my router. can you point me in the direction on how i would do this. I have little understanding on vpns or how this stuff works.
Keeps saying access denied when using password for server on WinSCP :( tried creating different accounts and different passwords to test but its always the password that won't let me in! Anyone know what could be causing this?
hey man super cool walkthough do you suppose you can show me how to use keys not passwords ? so its a 1 touch thing i want to connect home A to home B and share files via the network like it was "local lan" but ppl be pc DUMB so it needs to just work. and not the fallout way but actually work. i will be using max encryption and its just home to home so i can share a server hdd via net but encrypted so isp cant spy (also MUST NOT USE PORT 1080) comcast blocks it x.x;;
root@raspberrypi:/home/pi# pivpn add Enter a Name for the Client: aadniz Enter the password for the client: Enter the password again to verify: /opt/pivpn/makeOVPN.sh: line 60: expected: command not found [ERROR]: Client Public Key Certificate not found: aadniz.crt I've been searching a lot and haven't found a solution. Do you have any clue why?
Can anyone point me to where I can learn to change the settings? I initially set this up as WLAN, since I was waiting on an Ethernet Cable to be delivered, and now want to wire it up.
HI, I have a domain associated a Public IP , for exemple hello.ddns.net, I need to set up, but where? Must I put in certificate information, SERVER NAME=server ? SERVER NAME=hello.ddns.net ????
If you need a program that will show you the Pi, download this program: www.nirsoft.net/utils/wireless_network_watcher.html Choose: Options > Advanced Options, choose your WiFi and set the range of your Router! Example: 192.168.1.1 to 192.168.1.255 Your *3rd* *Octet* may be different...
Do you feel that that vpn thru pi would be secure enough for tor browsing? I did the walk thru and got a setup error after the curl -L install... command. I decided to reformat my pi sd because prior to you video I'd tried Another way and was also unsuccessful. If this works I'm gonna donate to your page! Thx
Did you watch the video? It is free, and you can definitely do it on Linux. But I also prefer wireguard now anyway. So maybe look up a tutorial on that?
www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/ Read the "What has changed?" section. As of the update from last month you have to either enable it the same way I did in the video or put a file called "ssh" in the /boot/ directory. I wish ssh was enabled by default....
I should probably update this video.
Hey, I would appreciate that!
A LOT of people are going to stumble over the dynamic IP problem which you've sorta brushed over here.
DietPi is a full installation Raspbian Lite with loads of software and it includes this AND NoIp so you can set things up with less worry. It's *vital* to get your dynamic hostname right though because once that's done, you have to start over if you smeg it up.
After you burn the img. to the pi- create a empty text file called *ssh* and put in the */boot* directory. Now you can ssh into the pi on the 1st boot! *NO* need for *HDMI*
This is correct. My video is old. Everyone listen to Ted
Was thinking that while watching
Beau, I’m really enjoying your videos. Positive re-enforcement, I appreciate the parts list. It’s definitely a time saver.
Great video! Got PiVPN with OpenVPN working perfectly on the first try! Good work!
Please note that if you do a VPN server with a Raspberry Pi Zero, your internet speed will never exceed 8-12 Mbps because of the speed limitation of the micro USB port and CPU bottleneck. For better speed go with the Pi 4. Also, the Ethernet port in Pi 4 is Gigabit Ethernet port which is no longer throttled by a USB interface (Compared to Pi 3). Yes more expensive but will probably serve you better imo. Or even better is to do a VPN server with an old computer but that take more space and power.
you can actually cut the steps by using OpenWRT (yes rpi supports OpenWRT).
once installed just visit the admin page of openwrt. Go to software, install luci-app-openvpn
once installed go over to OpenVPN, generate certificates, and start the VPN service.
all done. no console commands needed.
+remle ikawura dude. That will probably be my next project. That or pi-hole
says rspi zero isnt compatible ;(
but bcm2708 subtarget compiled from a later trunk seems to work.
wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
I need help my password that I made wont let me extract the profile for the Vpn please help me
thanks for the juice ssh thing i was looking for a good way to ssh into my pis using my phone
Using the Jessie Lite image is more appropriate for this kind of use case, SSH will already be enabled by default and there's no unnecessary bloat from the desktop environment and associated programs.
+MartinP (bircoe) I totally agree. This tutorial is aimed more towards first time Linux users. Hence the pivpn script instead of doing it all by hand. But I probably should have mentioned Jessie lite more because you are right, it does make more sense.
Thanks a lot for taking the time to make this video
Dude you should’ve done the lite image, the graphical interface will just slow it down 🤦♂️
Looks quite easy after all. :o)
What are the advantages to having a separate VPN server when you can just use OpenDNS in the router?
For people who don’t have a ton of adapter it would be cheaper to go with the raspberry pi 3 model b+ with better performance too
Beau... love quality you put into your tutorial videos. could you do a live project with the PI, any pi, and teach how to backward diagnose faults with the programming? For those of us that are learning.
can it also be a Tor relay at the same time?
Worked like a charm! Thanks!
Good Guide easy to follow 👊 I did it now with Wireguard the say it's faster?
I personally like wireguard better. Hoping to do a video on it later this year
Incredible video
Can you run this and Pi-Hole off the same Raspberry Pi? assuming you get something like a Raspberry Pi 4B
How about a video to use/set up VPN from your home with a Pi Zero? You do a great job producing these videos so anyone can do it.
How many people can you have on one pi at a time?
I’ve already configured my raspberry pi zero for pihole. Is it possible to add openvpn onto it and use it as an openvpn AND a DNS sinkhole?
Hey man....GREAT video. I am assuming this is using UDP? Is this actually safe? I don't know much about VPNs but is there any risk of something being built in to this auto VPN generator that leaves me vulnerable?
Thanks, works like a charm.
Works well, just needed to edit my ip address within the .opvn file, if i move the location of the vpn server
hi,
I have a problem when I want to connect to OpenVPN. It says "Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)"
what is the problem? can you help me? I already do all the steps.. running on raspberry pi 3
Great video, although I did run into a problem. During the setup, I chose TCP on accident instead of UDP. Thus, I uninstalled the software (but did not uninstall git when prompted). Now, something's messed up with my DNS and I keep getting "failed to resolve host" on pings, curls, and pretty much any type of command that uses the internet. I did some research and found that you can modify the "resolv.conf" file with your own nameservers, but this file is replaced after a reboot occurs. Please help me with this when you get the time.
Great video, thanks so much. Can you please tell me the animation program you used to create animations from minutes 2:04 to about 2:33? That's what I have been looking for. Thanks again
I used Adobe After Effects
Which VPN is this? The Coffee Shop VPN that lets you get a secure internet, or the Home Network VPN that lets you browse you shared folder when you're not home?
This server can function as both! The server.conf has the line "push "redirect-gateway def1"" in it which makes it so that all traffic is sent over the VPN. Including web traffic.
See here: openvpn.net/index.php/open-source/documentation/howto.html#redirect
I would also run a tracert command after you connected to the VPN to make sure the traffic looks like it does when you are at home.
Hey, I was wondering if you could do a detailed video on setting up the Pi0W as an Access Point? Thanks in advance. Nick
And what are the advantages of a VPN? Why would a home user use this? (I´m a complete novice. No intention to offend, just curious)
Would this allow me to acces my home PCs from outside the network as if they were in the same network?
No offence taken at all. Always ask questions! this is how we learn.
There are many advantages to setting up a VPN and using it when you are not at home.
Like you said, you can access home pc's and other resources on your network like network printers, file shares, etc.
So for example one time the database for my website went down that I host at my house. I was able to fix it from my phone by vpn-ing into my home network, then SSH-ing into my webserver box and restarting the database.
A VPN can also help protect you from people snooping on your traffic while you are on un-secure networks, like a coffee shop or McDonalds or something.
Also if I leave the US I can VPN into my home network and get american netflix and other streaming sites.
There are probably other reasons that I can't think of right now.
If anyone thinks of other reasons, please comment below.
Nice!! Sounds like a thing to look into! great. And will a Pi handle the work well? Does it need to be a beeffee machine? seems like not, but I take that depends on users and traffic. You made a very helpful video. I´ll try all that. Since I hace dinamic IP I´ll try to see how to overcome that part.
Will you do another video in the series? As, for example, practical uses of VPN? Your videos are great!
To be honest the PI doesn't handle as well as like a real desktop. I have gigabit internet at my house and gigabit fiber at work and when I tested it I only got 10Mbps speeds. And that was just one user connected. But sometimes I'll connect and forget to disconnect and not notice a real difference until I'm doing a bunch of stuff at once. This is more of a proof of concept. The script should work on any debian based linux distro like Ubuntu/ubuntu server.
I hadn't thought of making a series out of it but maybe I should!
As far as the dynamic IP issue, you should look into a service like no-ip. What you need to do basically is have a dns server that will point to your home connection. Now since most ISP uses dynamic IP, You can't just add the DNS server at home. You will need to use dynamic DNS. Dynamic DNS services are simple. You simply host the DNS server elsewhere and install a small software on a pc to update that DNS server with the new IP. (Dynamic DNS is also supported by most consumer routers). NO-IP.com offers 1 free DDNS per user. Then you can either choose betwwen buying a domain or use there subdomains.
Louis Ouellet I'll do that! Thanks!
So with this, you control all of the logs and openVPN and it's owners do not get any kind of logs at all?
What is your process for downloading the software seen at the end of the video (the windows client side openVPN) application? Because I downloaded and ran the 64 bit installer and I'm not able to do what you did when you connected to the Pi from work. The application is just one of those hidden applications that runs in the background. Any feedback at all would be much appreciated!
After I installed the GUI version found here:
openvpn.net/index.php/open-source/downloads.html
I put the test.ovpn in this folder: C:\Program Files\OpenVPN\config
Then I opened the OpenVPN gui and it shows up in the taskbar icons. I then right clicked on the icon and then hovered over "test" and then connected. Hope this helps..
Beau Knows Tech... Stuff
Many thanks for the detailed response. I sincerely appreciate the quickness as well! You have earned yourself a subscriber! :)
Do subscriptions like Netflix work with the VPN? When I use a VPN on my phone Netflix knows and doesn't allow streaming.
Great Video, newbie question... I want to use a vpn server at home because I am in hotel room and want a secure connection for my data... But I have limited internet at home... I suppose that it will use alot of my bandwidth and use my limited data If I transfer or stream video from the hotel? Thanks
Thank you for the great video! I haven't seen anybody post this yet, but I just followed the instructions and I am trying to connect my Mac to it through Tunnelblick and I keep getting this error. Tunnelblick: This computer's apparent public IP address (my public ip address) was unchanged after the connection was made is there a fix for this ? it keeps saying the code may be incorrect.
Thanks for anyone that can help.
stupid question: after setup openVPN server on Pi, how can I configure Kodi running on another Pi as client to connect the openVPN server?
Does changing the mode to SSH remove the local abilities? and usability of a local GUI?
Nope, just enables remote access
@@BeauKnowsCyber Thanks ALOT for getting back to me on this! I am working on a custom GUI with CANOPEN and wish to remote to these registers if possible. with that bit of info that sounds possible. What does this do yo RAM and physical Memory?
Could you make the Password more dynamic looking at a register internal to the Pi?
more like this please!
I'll try for more like this :)
When I import the profile it will then just say waiting for server when I connect to it please help me
Hello awesome video thank you. I have a question. In my work we have a VPN setup. I didn't setup the company who mange the software for our work requires it and they set it up. Also we have 3 locations so all of them are linked together. the First ip is a 10.1.10.XXX adress the second location is a 10.1.11.XXX address and last one is a 10.1.12.XXX address. And it i do a ping on any one of them networks i can ping like say is i was at 10.1.10.XX location i can ping 10.1.12.XXX and it works. Does this work in the same way? Also Am i secure online when i do this? What i mean is hat say if I'm on the road and I'm at a hotel and connect to there wifi will the VPN protect me?
At your work they probably have a class A network (10/8). And if not they probably have some rules or subnetting that allows for that. That being said, the pihole should allow for similar functionality with default settings. If not, you should be able to modify it to work. And yes with encryption you will be much more secure. A VPN isn't perfect.
why not just have ssh enabled with the image you put on the sd card?, then no need for half the equipment
My iPhone connected the vpn but can't browse any website. Why ?
Bonjour. Tres instructif. Merci
Hay, for some reason the .ovpn file doesn't work on android for me. Any advice?
I want to bridge my local network with the VPN clients. Any tutorial for that?
How do you forward your local DNS, e.g. rather than using an ip to connect to a nas drive can you use the drives name?
I am able to connect to the vpn from my android phone however cannot from my computer using OpenVPN, getting the following error, TLS key negotiation failed, any clues as to how to fix this?
I'm doing it step by step, but why I see only:
( ) 256 Use 256-bit encryption (recommended level)
( ) 384 Use 384-bit encryption
( ) 521 Use 521-bit encryption (paranoid level)?
how can i connect to my phone using the vpn settings on the phone with out downloading an app on it?
Great tutorial!
Great video! Could you do this on an old pc you have lying around?!
The script should work on it if you install ubunutu on it.
Not sure if the install has changed, but there seems to be a routing issue ... I followed your video to the T. I can connect but then nothing ... no INET access.
If you can ping 8.8.8.8 (Google's DNS) but can't connect to.. Google.com for example. Then it's probably a DNS issue. Did you happen to set a custom upstream DNS server?
@@BeauKnowsCyber so I cannot ping 8.8.8.8 ... but I also have a Pi3 .. which has an additional WLAN adapter ... so I altered the
/boot/config.txt
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
to disable the interfaces I am not using ... still routing (or iptables) is not allowing traffic to pass
Hmm. Interesting. One of me buddies had a similar issue and he just ran the script again and it worked.
That's weird that the firewall or routes aren't allowing traffic. I'm sure you'll figure it out. If you can, let me know what the issue was just in case someone else runs into the same problem
@@BeauKnowsCyber well I got it working thanks to this website ... arashmilani.com/post?id=53 ... it was an IPTables issue. Thanks for the video!
Glad to hear that it's working!
also i dont get those settings you get like where it says country state email
all procedure goes well, generates the rsa etc but when I looked with wscp in home/pi/ovpns folder its empty tried 4 times also google nortons and other same result it say it gone through ok after 40min but no test.ovpn file or any file in there
You did the "pivpn add" command but then the ovpn config file didn't show up in that folder?
i dont have my router login. Is it possible to do this without port forwarding?
Hey, I finally got it working! I fixed it by using port 443 and using tcp instead of udp. I have a question though, how do you change the username of users or delete them? Also how do you uninstall because I might do this on a actual computer instead of my raspberry Pi.
Never mind, I figured it out. Thank you so much for the video!
+Sufyan Motala glad you got it all worked out!
Would have been even better to make a reverse VPN, that's always fun.
Has anyone made a Metasploitable style vulnerable OS for Pentesting a Raspberry Pi?
Sounds simple enough. Would be pretty cool to have a tiny computer to pentest rather than setup a virtual machine that's running on the "attacking" machine *or* taking up another computer in your home.
my raspberry pi 0 doesn't show SSH in advanced settings
i got all the way to the end and my phone wont connect to it any ideas?
So I am able to successfully connect to the VPN on my phone, and am assigned an IP, but am unable to get any internet on the VPN.
Any ideas?
+Daxos Maxos you may have to download an app for this (I use Fing) but what happens when you ping 8.8.8.8? From what I've seen online, most people with this problem report it being a dns issue.
you could also "sudo poweroff"
Made it but I can only connect while using my cellular network on my phone and when I try with wifi it does not work. Any thought?
+Sufyan Motala is it the same Wi-Fi as the pivpn server? Or is it at a workplace? Coffee shop?
It wont work on any wifi network, home, work, coffeeshop etc
any thoughts?
+Sufyan Motala that is super weird. Does it throw any errors? Does it not connect, or does it connect but then you can't access stuff in your network?
Beau Knows Tech... Stuff now it won't even connect on my cellular network, it always says "Server poll timeout, trying next remote entry..."
is there any limit for net speed? (because of the poor CPU)
Hey bro i do all the steps, ans when a try to login it said acces denied, what can i do?
i am able to connect to my vpn over my own network (the network that the pi is sat on) but not over my mobile data connection on my phone, any ideas?
hmmm you may have to try setting up the VPN to use different ports like 443 or 80
Hi, what type of raspbian/noobs r u using, for the ssh at the beginning, i cant seem to get it to work with raspbian jessie pixel
is SSH enabled? www.raspberrypi.org/documentation/remote-access/ssh/
Thanks a lot! great video
My router supports openvpn by default. don't want to set my pi up to be a vpn, but rather connect my rasberry pi to my vpn on my router. can you point me in the direction on how i would do this. I have little understanding on vpns or how this stuff works.
are you just trying to use openvpn to connect to your router? or are you trying to make it so that it does that automatically?
I'd love to have the pi connect to vpn on my router on startup.
Keeps saying access denied when using password for server on WinSCP :( tried creating different accounts and different passwords to test but its always the password that won't let me in! Anyone know what could be causing this?
So can you connect to a server say, from school without having to add another connection to the pi?
+Markie T I'm not sure I understand your question exactly. Could you elaborate?
+Markie T I'm not sure I understand your question exactly. Could you elaborate?
Beau Knows Tech... Stuff I guess what I am trying to ask is if I set it up at home, can I connect to any other network and connect my devices?
hey man super cool walkthough do you suppose you can show me how to use keys not passwords ? so its a 1 touch thing i want to connect home A to home B and share files via the network like it was "local lan" but ppl be pc DUMB so it needs to just work. and not the fallout way but actually work.
i will be using max encryption and its just home to home so i can share a server hdd via net but encrypted so isp cant spy (also MUST NOT USE PORT 1080) comcast blocks it x.x;;
This is great. How to create users that they have a different password ?
root@raspberrypi:/home/pi# pivpn add
Enter a Name for the Client: aadniz
Enter the password for the client:
Enter the password again to verify:
/opt/pivpn/makeOVPN.sh: line 60: expected: command not found
[ERROR]: Client Public Key Certificate not found: aadniz.crt
I've been searching a lot and haven't found a solution.
Do you have any clue why?
I really don't know why that strikethrough line is there. But look up the code yourself and you'll see what I mean
can i use port 80 ??????? my school allows only 80 and 443 byt my isp i blocking 443 so wil it work on port 80???
I don't see why not, I've seen commercial VPN providers advertise that they work over port 80. Why is your ISP blocking port 443??
Beau Knows Tech... Stuff ok i will try
Can you install other servers simultaneously like pi hole,......?
Yes, as long as everything is on different ports.
Can anyone point me to where I can learn to change the settings? I initially set this up as WLAN, since I was waiting on an Ethernet Cable to be delivered, and now want to wire it up.
Paul Recchia run the same curl command
thank you .. great effort
HI, I have a domain associated a Public IP , for exemple hello.ddns.net, I need to set up, but where? Must I put in certificate information, SERVER NAME=server ? SERVER NAME=hello.ddns.net ????
Does it have to be done with ssh
So if you connect to this does your IP change?
+Will Hanz when you connect to this from outside your network, you will get your home ip address.
If you need a program that will show you the Pi, download this program:
www.nirsoft.net/utils/wireless_network_watcher.html
Choose: Options > Advanced Options, choose your WiFi and set the range of your Router!
Example: 192.168.1.1 to 192.168.1.255 Your *3rd* *Octet* may be different...
It has to be a raspberry pi zero-w ... this has built-in WiFi or internet connection ... the regular pi zero has no such features ....
Did you open port forwarding lol?
damn i will need same router as you to make it work ... this old netgeear i cant config it right ...
can i open port UTP
Don't need Putty. SSH is available in Powershell.
And in Windows subsystem for Linux for those still looking at the comments. Yay for not needing putty anymore
Does it have to be on ethernet wire?
Not if you are using a pi 3, 4 or zero W. Those have WiFi. I just prefer wired connections
Didn't work for me
:/
he can you help me putty tells me -bash: Curl: command not found
Are you copying the command exactly? Also what version of Raspbian are you using?
I use raspbian with pixel
Version:September 2016
Release date:2016-09-23
Kernel version:4.4
And i copy the command exactly
Try to enter the command manually and not by copying and pasting it. I also got the same mistake in the first place.
+George TJ oh for reals? Wtf.. Ok I should put that in the instructions. My bad
I now the problem the c from curl hase to be lowercase otherwise it wont work but now it says no such file directory 301 moved permanently
How are you connecting to your pi?
I'm not sure I understand your question. I use PuTTY to SSH into Pi. Does that answer your question?
what about for the pi 3? will this set up work?
+Nemish Patel (SkyCityNem) it will work! It should also work on any debian based distro should work
can it be don't wirelessly? thru the pi3 build in wifi or do you need to ethernet into router?
+Nemish Patel (SkyCityNem) it can be done wirelessly as well
Do you feel that that vpn thru pi would be secure enough for tor browsing? I did the walk thru and got a setup error after the curl -L install... command. I decided to reformat my pi sd because prior to you video I'd tried Another way and was also unsuccessful. If this works I'm gonna donate to your page! Thx
Nemish Patel What error did you get?
What router do you have?
Whatever one comes with google fiber lol
Is this free and can you do this for linux I don't own of want MS CRAP
Did you watch the video? It is free, and you can definitely do it on Linux. But I also prefer wireguard now anyway. So maybe look up a tutorial on that?
@@BeauKnowsCyber 😉👍👍👍
can i config without hdmi ?
Yes, raspbian can be configured over ssh
do i need to pay openvpn for this to work?
Nope. Should work without paying them
@@BeauKnowsCyber Thank you!
1.5 speed, for normal people :)
Hahahhahha
Clown tv
awessome
dang the pi zero is smaller then i thought
by default: SSH is already enabled on all raspberry pi
www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/
Read the "What has changed?" section. As of the update from last month you have to either enable it the same way I did in the video or put a file called "ssh" in the /boot/ directory.
I wish ssh was enabled by default....
nvm, SSH is on default on the Old version but new version it not
enteeerrr...