Port forwarding: Socat one-click installation script, can forward TCP and UDP traffic

Port forwarding: Socat one-click installation script, can forward TCP and UDP traffic

Function : Mainly to improve the network

Suppose there are two servers, 1.1.1.1 and 2.2.2.2. After using this script on the 1.1.1.1 server, the 2.2.2.2 server can be directly accelerated.

System requirements : Support CentOS 6+, Debian 7+, Ubuntu 14+.

Script description : a. The script enables UDP and TCP forwarding by default; b. It has a self-start function; c. It can only forward a single port at a time. If you want to forward multiple ports, please run this script repeatedly.

Installation (root user):

 wget https://zhujiwiki.com/wp-content/uploads/2018/12/socat.sh && bash socat.sh

Enter the following information as required:

 #如果你要用本地服務器的3333端口轉發IP為2 .2 .2 .2服務器的6666端口,那就依次填入指定參數。請輸入本地端口:3333請輸入遠程端口:6666請輸入遠程IP :2.2.2.2

Enter until the configuration is complete.

Script from: https://www.moerats.com/archives/621/

<<:  Bigpowerhosting 512MB RAM 40Gbsp DDOS Protection Los Angeles KVM VPS Review

>>:  ServerViking: £5/month/2GB memory/200GB space/2TB bandwidth/KVM/UK

Recommend

GDCCLOUD: $1.24/month/256MB RAM/5GB SSD space/unlimited traffic/KVM/Russia

GDCCLOUD, a Russian hosting provider, was establi...

【Double 11】SaltyFish Cloud: 2021/11/11 Big Sale

SaltyFish.IO Cloud | 2021/11/11 Big Sale 🇺🇸 San J...

LetBox: $7/month/2GB RAM/25GB storage/5TB bandwidth/KVM/Los Angeles

LetBox has a special vps, based on kvmp, with dat...

servaRICA: $7/month/1GB RAM/500GB storage/unlimited data/100Mbps/Xen/Canada

servaRICA is a Canadian hosting company founded i...

Hostabulous: $10/month/1 vCPU/1GB memory/60GB space/2TB traffic/2 IP/KVM

Hostabulous is a Canadian hosting company. It est...