# TCP_xfer **Repository Path**: yuyaowen/tcp_xfer ## Basic Information - **Project Name**: TCP_xfer - **Description**: TCP端口转发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-12 - **Last Updated**: 2024-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README TCP中继器: 背景: 当前TCP服务只监听127.0.0.1某个TCP端口,不监听来自其他其他IP的连接; 原理: 1、创建本地TCP Server,监听所有IP的连接; 2、当有新连接到来时,再创建新的连接到原来的TCP Server; 3、数据直接中转; 应用场景: 阿里加速,在Windows上可以上网,但是代理只监听127.0.0.1:33210,局域网其他机器不能连接,导致虚拟机装的Linux不可以通过它上外网。