Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Point Issue when creating a WiFi Router with OpenVPN. #1096

Closed
akdigitalcss opened this issue Mar 10, 2019 · 7 comments
Closed

Access Point Issue when creating a WiFi Router with OpenVPN. #1096

akdigitalcss opened this issue Mar 10, 2019 · 7 comments
Labels
idle This issue is idle and will be closed shortly.

Comments

@akdigitalcss
Copy link

akdigitalcss commented Mar 10, 2019

For those having an issue creating a router for the sole purpose of connecting to it to use a VPN I have the temporary fix to all of your problems. I have seen many people trying to do this and absolutely no valuable information being passed back from the authorities within this repo.

I have spent the past 3 days solid trying to fix this and I have just found the solution;

Use this image - http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-07-05/2017-07-05-raspbian-jessie-lite.zip

This guide to setup your access point - https://pimylifeup.com/raspberry-pi-wireless-access-point/

This guide to setup openvpn - https://pimylifeup.com/raspberry-pi-vpn-access-point/

Never will I be updated to the latest version of Raspian again. On a side note, don't be looking for guides specifically tailored to your VPN provider just download their .ovpn files and follow the guide normally.

Me personally I set the #autostart="all" line to autostart="all" and drop whatever .ovpn files I want to connect to, rename them to .conf and use the same auth-user-pass line in each of them.

IF YOU DO NOT rename your config files from .ovpn to .conf they will not automatically connect.

Note - I am using a Raspberry Pi 3, Model B connected to my router via Ethernet cable and my devices via Wifi.

@JamesH65
Copy link
Contributor

The documentation has not been able to keep up with the changes to the latest versions of Debian/Raspbian. I just haven't had time to find the correct process and document it. If anyone else has got it all working with the latest Raspbian, then plaese submit a PR with the changes.

@lurch
Copy link
Contributor

lurch commented Mar 10, 2019

On a side note, recommending people to use an image that's almost 2 years old is never a good idea 😕 Especially as I assume you want it to be secure (since you're using a VPN).

@akdigitalcss
Copy link
Author

On a side note, recommending people to use an image that's almost 2 years old is never a good idea 😕 Especially as I assume you want it to be secure (since you're using a VPN).

With SSH disabled or the usual basic security measures in place (fail2ban, strong password or key, different port that was closed via its route to the internet) what exactly could be done?

@JamesH65
Copy link
Contributor

Well, a two year old Raspbian will have security holes that have been fixed in subsequent releases. Those holes may be a problem even if you take all the normal security precautions.

@akdigitalcss
Copy link
Author

akdigitalcss commented Mar 11, 2019

Well, a two year old Raspbian will have security holes that have been fixed in subsequent releases. Those holes may be a problem even if you take all the normal security precautions.

Right but if my Raspberry Pi is not reachable on the WWW then that can only really leave me vulnerable to a local attack? As in if somebody was to sit within X distance of my hotspot, break in and then take advantage of said holes to possibly gain further access? I am not trying to play a game here I am genuinely curious for not only my protection but other peoples if they so choose to follow this tutorial because there are issues as it currently stands.

@JamesH65
Copy link
Contributor

No idea, I am not a security expert, and not a hacker!

@akdigitalcss
Copy link
Author

No idea, I am not a security expert, and not a hacker!

Right well when I did the obvious and unmasked the hostapd service I was still running into an issue when trying to connect to the AP, maybe it was user error or maybe I missed something off after retrying so many times. If I get chance this week I will try it yet again and if successful submit the additions that need to be made.

@aallan aallan added the idle This issue is idle and will be closed shortly. label Jun 7, 2021
@aallan aallan closed this as completed Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle This issue is idle and will be closed shortly.
Projects
None yet
Development

No branches or pull requests

4 participants