{"id":16773633,"url":"https://github.com/wlucha/openvpn-wifi-access-point-for-raspberry-pi","last_synced_at":"2025-08-03T00:14:56.774Z","repository":{"id":118969806,"uuid":"49091939","full_name":"wlucha/OpenVPN-Wifi-Access-Point-for-Raspberry-Pi","owner":"wlucha","description":"OpenVPN Wifi Access Point for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2016-01-11T10:42:17.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T00:51:06.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wlucha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-05T20:49:46.000Z","updated_at":"2022-05-01T16:29:21.000Z","dependencies_parsed_at":"2023-03-17T15:30:40.450Z","dependency_job_id":null,"html_url":"https://github.com/wlucha/OpenVPN-Wifi-Access-Point-for-Raspberry-Pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wlucha/OpenVPN-Wifi-Access-Point-for-Raspberry-Pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlucha%2FOpenVPN-Wifi-Access-Point-for-Raspberry-Pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlucha%2FOpenVPN-Wifi-Access-Point-for-Raspberry-Pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlucha%2FOpenVPN-Wifi-Access-Point-for-Raspberry-Pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlucha%2FOpenVPN-Wifi-Access-Point-for-Raspberry-Pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlucha","download_url":"https://codeload.github.com/wlucha/OpenVPN-Wifi-Access-Point-for-Raspberry-Pi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlucha%2FOpenVPN-Wifi-Access-Point-for-Raspberry-Pi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268477077,"owners_count":24256436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T06:46:29.057Z","updated_at":"2025-08-03T00:14:56.714Z","avatar_url":"https://github.com/wlucha.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenVPN-Wifi-Access-Point-for-Raspberry-Pi\nOpenVPN Wifi Access Point for Raspberry Pi\n\n*This is a bash script based on \"Hotspot – WiFi Access Point\" from JACEK TOKAR.* \u003cbr\u003e\n*Link to the original script: http://raspberry-at-home.com/hotspot-wifi-access-point/*\u003cbr\u003e\n\n\u003ch2\u003eDescription\u003c/h2\u003e\n\nThis script installs a Wifi Access Point on your Raspberry Pi which tunnels your traffic through OpenVPN.\u003cbr\u003e\nAdditionally it's possible to install VPNBOOK.com OpenVPN certificates.\u003cbr\u003e\n\n\u003ch2\u003eHardware\u003c/h2\u003e \n- Raspberry Pi Version 1 or 2\n- Ethernet cable\n- WiFi adapter - Not all WiFi adapters work\n- SD Card (4GB or greater) with Raspbian on it\n- Power supply for your Pi \u0026 a Micro USB cable\n- USB Console cable (optional) - this makes it a little easier to debug the system\n- Case for your Pi (optional)\n- A SD or MicroSD card reader (optional)\n\n\u003ch2\u003ePreparations\u003c/h2\u003e\n- Install the OS (Raspbian) onto your SD card\n- Boot the Pi and configure \n- Don't forget to change the default password for the 'pi' acccount!\n- Set up and test the Ethernet and Wifi connection\n\n\u003ch2\u003eInstallation\u003c/h2\u003e\n- Download the script to your Raspberry Pi\n- `chmod +x openvpn_gateway.sh`\n- `sudo ./openvpn_gateway.sh`\n\n\u003ch2\u003eTroubleshooting\u003c/h2\u003e\n- `sudo service hostapd status`\n- `sudo service isc-dhcp-server status`\n- `sudo hostapd -d /etc/hostapd/hostapd.conf`\n- `iw list`\n- For some reason, sometimes tun1 is used instead tun0, therefore you need to change the iptables rules to:\n  - `sudo iptables --flush`\n  - `sudo iptables --list`\n  - `sudo iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE`\n  - `sudo iptables -A FORWARD -i tun1 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT`\n  - `sudo iptables -A FORWARD -i wlan0 -o tun1 -j ACCEPT`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlucha%2Fopenvpn-wifi-access-point-for-raspberry-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlucha%2Fopenvpn-wifi-access-point-for-raspberry-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlucha%2Fopenvpn-wifi-access-point-for-raspberry-pi/lists"}