首页 > 解决方案 > 压缩通过 socat 发送的数据

问题描述

我正在使用socat命令如下:

socat -T10 UDP4-LISTEN:port,reuseaddr,fork TCP:host:port 

在客户端和命令

socat TCP4-LISTEN:port,reuseaddr,fork UDP:host:port

在远程端在源和目标之间双向发送 udp 数据包。是否可以压缩来回发送的数据?

标签: udpsocat

解决方案


我自己一直在研究这个问题。我正在尝试设置 2 个点,一个在 CentOS 中,另一个在使用压缩的 Windows Server 上。我研究了 socat ,唯一的选择似乎是在该连接上使用 SSL 压缩。我也在调查 PPP,但它似乎已经不再使用了。

这在这里有所帮助:https ://www.reddit.com/r/linuxadmin/comments/22262q/tunnel_with_socat_over_compressed_connection/

祝你好运,伙计。


推荐阅读