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

The whole process of refunding Godaddy domain name and space

The whole process of Godaddy domain name and spac...

Hostibox: $5/month/2GB RAM/10GB SSD space/unlimited traffic/KVM/West Virginia

Hostibox, a foreign hosting provider, claims to h...

Xiran 1GB RAM KVM VPS Beijing Simple Review

Xirang’s Double 12 special offer is 12 yuan per m...

webzilla: $129/month/32GB memory/240GB SSD/10TB bandwidth/Singapore/India

Webzilla, a Singapore hosting provider, was found...

TNAHosting: $15/year/1GB RAM/15GB SSD space/5TB traffic/1Gbps port/KVM/Chicago

TNAHosting, a US hosting provider, has a data cen...

AMH v4.5 Enhanced

Preface: 1. Added Mysql, Mariadb to install, and ...

NGClouds: $25/year/1GB/20GB SSD space/1TB traffic/KVM/Türkiye

NGClouds, a US merchant, currently mainly provide...

Linux system load average command and the meaning of the three numbers

1. System Average Load - Basic Explanation In the...