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

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

Description <br />Generally, those who use overseas servers will encounter line explosion and poor network, which will result in poor results when using software such as 55R. At this time, you can use port forwarding to improve this situation. Common forwarding methods include rinetd, Haproxy, iptables, and socat. The first two can only forward TCP, while the latter can forward TCP/UDP. If you use it to play games, you need to forward UDP. The following is a one-click installation script for Socat.

Installation <br />System requirements: Support CentOS 6+, Debian 7+, Ubuntu 14+.
Script description: The script enables UDP and TCP forwarding by default, with a boot-up auto-start function, and can only forward a single port at a time. If you want to forward multiple ports, please run this script repeatedly.
Tip: This script has been tested on all Vultr systems, including the latest Ubuntu 18.04. If you have other questions, please leave a message.

Run the following command as root:

 wget https://raw.githubusercontent.com/iiiiiii1/Socat/master/socat.sh && bash socat.sh

Enter the following information as required:

If you want to use the local server's 3333 port forwarding IP

 1.1.1.1服務器的6666端口,那就依次填入指定參數。請輸入本地端口:3333請輸入遠程端口:6666請輸入遠程IP:1.1.1.1

Enter until the configuration is complete.

via:https://www.moerats.com/archives/621/

<<:  Hostire: $24/month/AMD Quadcore/16GB memory/2TB hard drive/100TB traffic/Kansas

>>:  Nathosts: 200 yuan/year/256MB memory/4GB SSD space/1TB traffic/100Mbps/KVM/Hong Kong HKT

Recommend

servdiscount: $9.35/month/4GB memory/160GB space/unlimited traffic/1 IP/Germany

Servdiscount, a veteran German hosting company, h...

SSDNodes: $48/year/4GB RAM/40GB SSD space/4TB bandwidth/OpenVZ/Canada

SSDNodes, a Canadian hosting provider, has been i...

StartLogic US Hosting

Startlogic provides customers with strong support...

PIGYun 512MB RAM 30Mbps Port Korea CN2 KVM VPS Review

Details : PIGYun: 15 yuan/month/512MB memory/5GB ...