hidemyass | Use Raspberry Pi as gateway for Hide My Ass VPN

 by   wizche JavaScript Version: Current License: Apache-2.0

kandi X-RAY | hidemyass Summary

kandi X-RAY | hidemyass Summary

hidemyass is a JavaScript library typically used in Internet of Things (IoT), Raspberry Pi applications. hidemyass has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

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

            kandi-support Support

              hidemyass has a low active ecosystem.
              It has 5 star(s) with 3 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              hidemyass has no issues reported. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of hidemyass is current.

            kandi-Quality Quality

              hidemyass has 0 bugs and 0 code smells.

            kandi-Security Security

              hidemyass has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hidemyass code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hidemyass is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              hidemyass releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              It has 26 lines of code, 0 functions and 5 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed hidemyass and discovered the below as its top functions. This is intended to give you an instant insight into hidemyass implemented functionality, and help decide if they suit your requirements.
            • 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 .
            Get all kandi verified functions for this library.

            hidemyass Key Features

            No Key Features are available at this moment for hidemyass.

            hidemyass Examples and Code Snippets

            No Code Snippets are available at this moment for hidemyass.

            Community Discussions

            QUESTION

            docker build - Cannot open TUN/TAP dev /dev/net/tun
            Asked 2018-Oct-29 at 22:00

            I'll try build docker image with openvpn connect to HideMyAss VPN. Look at Dockerfile:

            ...

            ANSWER

            Answered 2018-Oct-29 at 21:51

            First of all try to nest Dockerfile instructions to keep the layers up to a minimum (its known best practice)

            For example instead of this:

            Source https://stackoverflow.com/questions/53052234

            QUESTION

            How to remove elements with style display:none from HTML source code
            Asked 2017-Apr-26 at 14:56

            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:42
            if ( $(element).css('display') == 'none' ){
                $(element).remove();
            }
            

            Source https://stackoverflow.com/questions/43637200

            QUESTION

            Can't run HMA OpenVPN in Docker
            Asked 2017-Jan-18 at 10:35

            Does anybody have any experience running HMA in Docker container?

            When I run this command

            ...

            ANSWER

            Answered 2017-Jan-18 at 10:35

            you 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

            Source https://stackoverflow.com/questions/41653348

            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/.
            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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/wizche/hidemyass.git

          • CLI

            gh repo clone wizche/hidemyass

          • sshUrl

            git@github.com:wizche/hidemyass.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link