hidemyass | Use Raspberry Pi as gateway for Hide My Ass VPN
kandi X-RAY | hidemyass Summary
kandi X-RAY | hidemyass Summary
This project contains some bash scripts and a monitoring node.js application that allows the Raspberry Pi to act as a gateway and permit traffic from the wired interface (eth0, where you may connect your media-box) to the wireless interface (wlan0 → Internet) only through a HideMyAss VPN tunnel. The hma-vpn script in the config\ directory is based on the official script provided by [HMA] with a small modification to inject user/password through an authentication file. The hma-service script in the config\ directory is used to start the VPN connection on startup (init.d service script). It also add the NAT rules to translate traffic from eth0 to tun0 (vpn interface) and vice-versa. This scripts also implement a switch [ip] command that is used from the node.js application to switch the VPN server. The forever_start.sh script in the config\ directory uses [forever] to start the monitoring application at boot. (add it to rc.local).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Determines whether a feature or not .
- Decode a symbol .
- Decode the header string .
- Wrapper around a Socket .
- parse uri
- Open the transport .
- Encode Object
- Remove Blob from an object .
- Check if data is binary .
- Poller constructor .
hidemyass Key Features
hidemyass Examples and Code Snippets
Community Discussions
Trending Discussions on hidemyass
QUESTION
I'll try build docker image with openvpn connect to HideMyAss VPN. Look at Dockerfile:
...ANSWER
Answered 2018-Oct-29 at 21:51First of all try to nest Dockerfile instructions to keep the layers up to a minimum (its known best practice)
For example instead of this:
QUESTION
I was reading a 4-year-old blog article about how to scrape IP addresses and port numbers from http://proxylist.hidemyass.com/. Although the article is unfinished and doesn't include any code, it seems like the obfuscation techinque they describe is still the one being used by HideMyAss.
For example, here is a element corresponding to an IP address:
ANSWER
Answered 2017-Apr-26 at 14:42if ( $(element).css('display') == 'none' ){
$(element).remove();
}
QUESTION
Does anybody have any experience running HMA in Docker container?
When I run this command
...ANSWER
Answered 2017-Jan-18 at 10:35you also need --net=host
if you do not add this to your docker run
command, you container does not communicate with the network devices of the host, so it can't work.
I have a similar OpenVPN container and I start it with
docker run -d --net=host --name myvpn --privileged -p 1194:1194/udp my_alpine_vpn
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hidemyass
Download the repository somewhere on the Raspberry Pi
Copy config\hma-service to the /etc/init.d/ directory (add the executable permission #chmod +x hma-service if needed)
Adjust the default gateway IP in the hma-service file to match yours
Copy config\hma-vpn somewhere and add it to the PATH (or create a symbolic link to it #ln -s /bin/hma-vpn config\hma-vpn)
Add the forever_start.sh script to /etc/rc.local
Add you HMA credentials to the config\auth.txt file
Adjust the path to the auth.txt file in hma-vpn script by replacing the sed pattern with the correct one (in this case was /opt/pisky/config/auth.txt)
Install node.js dependencies with #npm install
Adjust the web-socket URL in the index.ejs file (io.connect('http://localhost');) to match your Raspberry IP address
Start the VPN connection with #/etc/init.d/hma-service start
Start the node.js application with the #config\forever_start.sh command
Open the browser and navigate to http://rasberry-ip/
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page