Code Monkey home page Code Monkey logo

remotevpn's Introduction

RemoteVPN

Allows to connect to the robot from anywhere in the world

Network Setup

Go to my zerotier and make an account. From there you can create a network with those settings:

network settings

Any device that joins this virtual network will behave as if it connected to an ethernet switch with all the other devices.

Install on RPi

sudo bash install.sh

To join a network type zerotier-cli join XYZ where XYZ is the network ID.

Make a backup of /etc/network/interfaces (cp /etc/network/interfaces /etc/network/interfaces.back) and replace it with mv zeroteir_interfaces /etc/network/interfaces and edit it to have the correct IP and the zerotier network name (which can be found with ifconfig)

You will have to authenticate the device from the network interface. Additionally allow Ethernet Bridging to access devices on the ethernet network via the VPN. Type in the PI's ip as shown:

device config

Note: To be able to ssh into the pi you will need to remove the ListenAddress lines at the bottom of /etc/ssh/sshd_config which will enable people to ssh from WiFi. This is a security issue so either change the password (and document it somewhere) or setup key based login.

Note: It is quite possible to get locked out during this process so have a SD card reader and/or UART adapter ready to ger access to the pi

Install on Mac

follow instructions on here

remotevpn's People

Contributors

mikh3x4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.