forward several ports into a single port

Overview

port forwarding Multi-Input-Single-Output

forward several ports into a single one

this tool forwards packets from several ports into one single port.

how it works:

it stays on client side before client application and forwards all packets from multiple ports into one single localhost port.
the application that wants to receive data listens to the dedicated port on localhost.

block diagram


        server         internet            client 
          │               │                   │
          │               │                   │
          │               │                   │
          ▼               ▼                   ▼
    
                                  ┌╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸┐
                                  ╏                 this application sits here                      ╏
                                  ╏                                                                 ╏
                                  ╏                                                                 ╏
                                  ╏                                                                 ╏
                                  ╏           ┌───────────────┐                                     ╏
                                  ╏           │               │                                     ╏
                     ┌────────────╏───────────►  socket 1     ├──────┐                              ╏
                     │            ╏           │               │      │                              ╏
                     │            ╏           └───────────────┘      │                              ╏
                     │            ╏                                  │                              ╏
    ┌────────────────┴─┐          ╏                                  │       ┌──────────────┐       ╏
    │                  │          ╏           ┌───────────────┐      └───────►              │       ╏    ┌────────────┐
    │  multipath       │          ╏           │               │              │  localhost   │       ╏    │            │
    │  multiport       ├──────────╏───────────►  socket 2     ├──────────────►  forwarding  ├───────╏────►client      │
    │  load-balancer   │          ╏           │               │              │  socket      │       ╏    │application │
    │                  │          ╏           └───────────────┘      ┌───────►              │       ╏    └────────────┘
    └────────────────┬─┘          ╏                                  │       └──────────────┘       ╏
                     │            ╏                                  │                              ╏
                     │            ╏           ┌───────────────┐      │                              ╏
                     │            ╏           │               │      │                              ╏
                     └────────────╏───────────►  socket n     ├──────┘                              ╏
                                  ╏           │               │                                     ╏
                                  ╏           └───────────────┘                                     ╏
                                  ╏                                                                 ╏
                                  ╏                                                                 ╏
                                  ╏                                                                 ╏
                                  ╏                                                                 ╏
                                  └╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸╸┘

ascii block diagram drawn using asciiflow.com

Owner
Erfan Kheyrollahi Qaroğlu
Telecommunication engineer × nix × fun matters! ×
Erfan Kheyrollahi Qaroğlu
Serves some data over HTTP, once. Based on the built-in Python module http.server

serve-me-once Serves some data over HTTP, once. Based on the built-in Python module http.server.

Peder Bergebakken Sundt 2 Jan 06, 2022
Python Program to connect to different VPN servers autoatically using Windscribe VPN.

AutomateVPN What is VPN ? VPN stands for Virtual Private Network , it is a technology that creates a safe and encrypted connectionover a less secure n

Vivek 1 Oct 27, 2021
Wifijammer - Continuously jam all wifi clients/routers

wifijammer Continuously jam all wifi clients and access points within range. The effectiveness of this script is constrained by your wireless card. Al

Dan McInerney 3.5k Dec 31, 2022
sync application configuration and settings across multiple multiplatform devices

sync application configuration and settings across multiple multiplatform devices ✨ Key Features • ⚗️ Installation • 📑 How To Use • 🤔 FAQ • 🛠️ Setu

Souvik 6 Aug 25, 2022
Dokumentasi belajar Network automation

Repositori belajar network automation dengan Docker, Python & GNS3 Using Frameworks and integrate with: Paramiko Netmiko Telnetlib CSV SFTP Netmiko, S

Daniel.Pepuho 3 Mar 15, 2022
Base on browser-time to get har from network, and use python to analyze the data .

base on browser-time to get har from network, and use python to analyze the data

1 Dec 20, 2021
BibleNotifyDesktop - Desktop version of Bible Notify

Bible Notify Desktop This is the repository for the Desktop version of the daily

Bible Notify 5 Nov 16, 2022
API for concurrency connections

Multi-connection-server-API API for concurrency connections difference between this server and the echo server is the call to lsock.setblocking(False)

Muziwandile Nkomo 1 Jan 04, 2022
SonicWall SSL-VPN Exploit

VisualDoor SonicWall SSL-VPN Exploit, as used by Phineas Fisher to hack Cayman Trust Bank and Hacking Team.

169 Nov 15, 2022
EchoDNS - Analyze your DNS traffic super easy, shows all requested DNS traffic

EchoDNS - Analyze your DNS traffic super easy, shows all requested DNS traffic

Oli Zimmermann 1 Jan 11, 2022
Qtas(Quite a Storage)is an experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Qtas(Quite a Storage)is a experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Jiaming Zhang 3 Jan 12, 2022
Docker container for demoing Wi-Fi calling stack.

VoWiFiLocalDemo - Docker container that runs StrongSwan and Kamailio to demonstrate how Wi-Fi calling works on smartphones.

18 Nov 12, 2022
Linux SBC featuring two wifi radios, masquerading as a USB charger.

The WiFiWart is an open source WiFi penetration device masquerading as a regular wall charger. It features a 1.2Ghz Cortex A7 MPU with two WiFi chips onboard.

Walker 151 Dec 26, 2022
Home Assistant integration for MyEnergi devices

myenergi for Home Assistant myenergi custom component for Home Assistant This is a very early release, will add more documentations soon! This compone

Johan Isacsson 70 Dec 18, 2022
Process incoming JSON-RPC requests in Python

August 16, 2021: Version 5 has been released. Read about the changes in version 5, or read the full documentation. Version 5 is for Python 3.8+ only.

Exploding Labs 156 Dec 31, 2022
Asynchronous For Python(asyncio)

asyncio is a library to write concurrent code using the async/await syntax.asyncio is used as a foundation for multiple Python asynchronous frameworks that provide high-performance network and web-se

Janak raikhola 0 Feb 05, 2022
Control your Puffco Peak Pro from your computer!

PuffcoPC Control your Puffco Peak Pro from your computer! Contributions Pull requests are welcome. For major changes, please open an issue first to di

Bryan Muschter 5 Nov 02, 2022
This is a simple python code to get the list of banned IP addresses from Fail2ban

Fail2ban Scripts Usage banned_list.py This script tries to get the banned list of IP addresses by Fail2ban for the service freeswitch. You can modify

Yehor Smoliakov 9 Dec 28, 2022
Wifi-jammer - Continuously perform deauthentication attacks on all detectable stations

wifi-jammer Continuously perform deauthentication attacks on all detectable stat

Leonardo de Araujo 14 Nov 03, 2022
Script and library to wait for a DNS authority server to get its configuration.

DNSWait dnswait is a small script to wait for the "propagation" of a namserver configuration. Installing It's as easy as: python -m pip install dnswai

Julien Palard 14 Jan 17, 2022