Code Monkey home page Code Monkey logo

lazytunnel's Introduction

VPS Tunneling Script ๐Ÿš€

This simple yet powerful script allows you to instantly tunnel two VPS together using iptables with just one click. It automates the process of IP forwarding and NAT configuration, making it easy for anyone to set up a secure connection between two virtual servers.

๐Ÿ“– Usage

๐Ÿš€ Establishing the Tunnel

You can set up the tunnel between two servers with this single line of command:

bash <(curl -fsSL https://raw.githubusercontent.com/deathline94/LazyTunnel/main/LazyTunnel.sh)

During execution, the script will automatically detect your server's IP address (Mainland/Iran/China/Russia IP) and ask you for the IP address of the remote server (Foreign IP) you want to tunnel with.

๐Ÿงน Uninstallation

If you wish to remove the tunneling configurations, you can do it easily using the uninstall argument in the following way:

bash /root/LazyTunnel.sh uninstall

After that, Just reboot the VPS.

โš ๏ธ Important Notes

Remember:

You have to be the root user to run the script

Tested fully on arvancloud infrastructures and it works fine . Should work everywhere.

Please note that this script modifies your IPTables rules and sets up IP forwarding, which could impact the security posture of your server. Understand the implications before usage and use it responsibly.

If you encounter any issues or have suggestions, feel free to open an issue in this repository. Or contact me on Twitter at @namelesghoul.

lazytunnel's People

Contributors

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