nat-tunnel | NAT Tunnel : to effortlessly serve from behind NAT | Proxy library

 by   rofl0r Python Version: Current License: GPL-2.0

kandi X-RAY | nat-tunnel Summary

kandi X-RAY | nat-tunnel Summary

nat-tunnel is a Python library typically used in Networking, Proxy applications. nat-tunnel has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However nat-tunnel build file is not available. You can download it from GitHub.

If you have access to a server with public IP and unfiltered ports you can run NAT Tunnel (NT) server on the server, and NT client on your box behind NAT. the server requires 2 open ports: one for communication with the NT client (--admin), the other for regular clients to connect to (--public: this is the port you want your users to use). The NT client opens a connection to the server's admin ip/port. As soon as the server receives a new connection, it signals the NT client, which then creates a new tunnel connection to the server, which is then connected to the desired service on the NT client's side (--local). The connection between NT Client and NT Server on the admin interface is protected by a shared secret against unauthorized use. An adversary who can intercept packets could crack the secret if it's of insufficient complexity. At least 10 random characters and numbers are recommended. Example: You have a HTTP server listening on your local machine on port 80. You want to make it available on your cloud server/VPS/etc's public IP on port 7000. We use port 8000 on the cloud server for the control channel.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nat-tunnel has a low active ecosystem.
              It has 53 star(s) with 7 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 1 have been closed. On average issues are closed in 1 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of nat-tunnel is current.

            kandi-Quality Quality

              nat-tunnel has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              nat-tunnel is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              nat-tunnel releases are not available. You will need to build from source code and install.
              nat-tunnel has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              nat-tunnel saves you 266 person hours of effort in developing the same functionality from scratch.
              It has 655 lines of code, 54 functions and 2 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed nat-tunnel and discovered the below as its top functions. This is intended to give you an instant insight into nat-tunnel implemented functionality, and help decide if they suit your requirements.
            • Connects to the proxy chain
            • Connect to the proxy chain
            • Establish a connection to a socket
            • Check if the proxy chain matches the proxy chain
            • Wait for threads to finish
            • Wait for a new connection to the server
            • Start the thread
            • Format an IPv4 address
            • Main loop
            • Connect to the proxy chain
            • Receive a line from the server
            • Sets up a socket
            • This function is called by the thread
            • Close all open files
            • Return a socksockProxy instance from a socksock proxy URL
            • Disconnects the socket
            • Receive a string until it matches
            Get all kandi verified functions for this library.

            nat-tunnel Key Features

            No Key Features are available at this moment for nat-tunnel.

            nat-tunnel Examples and Code Snippets

            No Code Snippets are available at this moment for nat-tunnel.

            Community Discussions

            Trending Discussions on nat-tunnel

            QUESTION

            Start and stop command periodically, in Windows
            Asked 2020-Mar-07 at 16:22

            I'm using this Python program to connect to a VPS and create a NAT tunnel.

            ...

            ANSWER

            Answered 2020-Mar-07 at 16:22

            You can write a python script to run natsrv.py with the same command line arguments as a child process. Terminate it after 5 minutes and repeat.

            mynatsrv.py

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

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nat-tunnel

            You can download it from GitHub.
            You can use nat-tunnel like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            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/rofl0r/nat-tunnel.git

          • CLI

            gh repo clone rofl0r/nat-tunnel

          • sshUrl

            git@github.com:rofl0r/nat-tunnel.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

            Explore Related Topics

            Consider Popular Proxy Libraries

            frp

            by fatedier

            shadowsocks-windows

            by shadowsocks

            v2ray-core

            by v2ray

            caddy

            by caddyserver

            XX-Net

            by XX-net

            Try Top Libraries by rofl0r

            proxychains-ng

            by rofl0rC

            microsocks

            by rofl0rC

            ncdu

            by rofl0rC

            libulz

            by rofl0rC

            chaos-pp

            by rofl0rC