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

You might also like...
Python port of proxy-www (https://github.com/justjavac/proxy-www)

proxy-www.py Python port of proxy-www (https://github.com/justjavac/proxy-www). Implemented additional functionalities! How to install pip install pro

Start a simple TCP Listener on a specified IP Address and Port Number and receive incoming connections.

About Start a simple TCP Listener on a specified IP Address and Port Number and receive incoming connections. Download Clone using git in terminal(git

Port Traffic/Bandwidth Monitor Script
Port Traffic/Bandwidth Monitor Script

python-switch-port-traffic-alarm Port Traffic/Bandwidth Monitor Script That's an Switch Port Traffic monitor program is checking the switch uplink por

PetrickScanner is a simple Python OOP TCP Port Scanner

PetrickScanner PetrickScanner is a simple Python OOP TCP Port Scanner Functions Python TCP Port Scanner DNS Resolver Random Scanner PLEASE ANY PROBLEM

RollerScanner — Fast Port Scanner Written On Python

RollerScanner RollerScanner — Fast Port Scanner Written On Python Installation You should clone this repository using: git clone https://github.com/Ma

openPortScanner is a port scanner made with Python!
openPortScanner is a port scanner made with Python!

Port Scanner made with python • Installation • Usage • Commands Installation Run this to install: $ git clone https://github.com/Miguel-Galdin0/openPo

A Simple but Powerful cross-platform port scanning & and network automation tool.

DEDMAP is a Simple but Powerful, Clever and Flexible Cross-Platform Port Scanning tool made with ease to use and convenience in mind. Both TCP

Simple threaded Python Rickroll server. Listens on port 23 by default.

Terminal Rickroll Simple threaded Python Rickroll server. Listens on port 23 by default. Rickroll video made using Video-To-Ascii and the standard ric

Simple Port Scanner With Socket Module In Python 3x
Simple Port Scanner With Socket Module In Python 3x

PortScanner Simple Port Scanner With Socket Module In Python 3x How To Install Requirements Of This Port Scanner sudo apt install python3;sudo apt ins

Owner
Erfan Kheyrollahi Qaroğlu
Telecommunication engineer × nix × fun matters! ×
Erfan Kheyrollahi Qaroğlu
A Network tool kit for scanning active IP addresses and open ports

Network scanner A small project that I wrote on the fly for (IT351) Computer Networks University Course to identify and label the devices in my networ

Mohamed Abdelrahman 10 Nov 7, 2022
GlokyPortScannar is a really fast tool to scan TCP ports implemented in Python.

GlokyPortScannar is a really fast tool to scan TCP ports implemented in Python. Installation: This program requires Python 3.9. Linux

gl0ky 5 Jun 25, 2022
A light-weight open-source project CLI utility for showing services running on ports in a host

Portable Port Scanner (ppscanner) Portable Port Scanner (ppscanner) is a light-weight open-source CLI utility that leverages on nmap to make quick and

null 1 Oct 30, 2021
Simple P2P application for sending files over open and forwarded network ports.

FileShareV2 A major overhaul to the V1 (now deprecated) FileShare application. V2 brings major improvements in both UI and performance. V2 is now base

Michael Wang 1 Nov 23, 2021
Search ports in multiples hosts

Search Port ✨ Multiples Searchs ✨ Create list hosts Create list targets Start Require Python 3.10.0+. python main.py Struture Function Directory load_

Tux#3634 7 Apr 29, 2022
Tripwire monitors ports and icmp to send the admin a message if somebody is scanning a machine that shouldn't be touched

Tripwire monitors ports and icmp to send the admin a message if somebody is scanning a machine that shouldn't be touched

null 3 Apr 5, 2022
A tool which is capable of scanning ports as TCP & UDP and detecting open and closed ones.

PortScanner Scan All Open Ports Of The Target IP. A tool which is capable of scanning ports as TCP & UDP and detecting open and closed ones. Clone fro

Msf Nmt 17 Nov 26, 2022
This application aims to read all wifi passwords and visualizes the complexity in graph formation by taking into account several criteria and help you generate new random passwords.

This application aims to read all wifi passwords and visualizes the complexity in graph formation by taking into account several criteria and help you generate new random passwords.

Njomza Rexhepi 0 May 29, 2022
Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite

PortScanner Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite. #IMPORTAN

null 1 Oct 23, 2021
Multi-path load balancing is a method used by most of the real-time network to split the packets into different paths rather than transferring it through a single path

Multipath-Load-Balancing Method of managing incoming traffic by distributing and sharing load fairly among multiple routes from source to destination

Dharshan Kumar 6 Dec 10, 2022