linux 转发

Last updated on September 15, 2024 pm

🧙 Questions

实现在linux,转发别的服务器端口
有坑,貌似vpn到端口无法转发

☄️ Ideas

安装ncat
sudo yum install ncat
转发

用户访问服务器的8099端口,转发到10.1.6.1的31013的端口

ncat --sh-exec "ncat 10.1.6.1 31013 " -l 8099 --keep-open

linux 转发
https://ispong.isxcode.com/os/linux/linux 转发/
Author
ispong
Posted on
February 10, 2023
Licensed under