Start TCP forward proxy, map the 8080 port of www.server.com to the local 8080 so that access to local 8080 is equivalent to accessing www.server.com 8080
Start the TCP reverse agent, map the local 8080 to the 8080 port of www.server.com, which visit www.server.com 8080 is equivalent to accessing the local 8080
Internal communication between Client and Server, can also be modified to other protocols, automatic conversion between external protocols and internal protocols. E.g
Test the maximum bandwidth speed in the case where the IPERF script using the Benchmark / local_tcp directory is tested in the CPU. The proxy protocol is TCP, and the results of various transit protocols are used as follows:
Agent
Speed
Speed (Ency)
Speed (Encryption Compression)
Direct connection
3535 MBytes/sec
tcp forwarding
663 MBytes/sec
225 MBytes/sec
23.4 MBytes/sec
rudp forwarding
5.15 MBytes/sec
5.81 MBytes/sec
5.05 MBytes/sec
ricmp forwarding
3.34 MBytes/sec
3.25 MBytes/sec
3.46 MBytes/sec
rhttp forwarding
10.7 MBytes/sec
10.8 MBytes/sec
8.73 MBytes/sec
kcp forwarding
18.2 MBytes/sec
18.6 MBytes/sec
14.7 MBytes/sec
quic forwarding
35.5 MBytes/sec
32.8 MBytes/sec
15.1 MBytes/sec
Using the IPERF script of the Benchmark / Remote_TCP directory, in the multi-machine test, the server is located in Tencent Cloud, the client is located locally, and the maximum bandwidth speed is tested. The proxy protocol is TCP, and the results of various transit protocols are used as follows:
Agent
Speed
Speed (Ency)
Speed (Encryption Compression)
Direct connection
2.74 MBytes/sec
tcp forwarding
3.81 MBytes/sec
3.90 MBytes/sec
4.02 MBytes/sec
rudp forwarding
3.33 MBytes/sec
3.41 MBytes/sec
3.58 MBytes/sec
ricmp forwarding
3.21 MBytes/sec
2.95 MBytes/sec
3.17 MBytes/sec
rhttp forwarding
3.48 MBytes/sec
3.49 MBytes/sec
3.39 MBytes/sec
kcp forwarding
3.58 MBytes/sec
3.58 MBytes/sec
3.75 MBytes/sec
quic forwarding
3.85 MBytes/sec
3.83 MBytes/sec
3.92 MBytes/sec
Note: The test data is Centos.ISO, which has been compressed, so the effect of compression forwarding is not obvious.
If you want to directly test each protocol bandwidth of the network, use multi-protocol bandwidth test tools connperf