Linux端口转发工具 rinetd(类似windows tcpmapping)

 官网: https://boutell.com/rinetd/

wget http://www.boutell.com/rinetd/http/rinetd.tar.gz
tar zxvf rinetd.tar.gz
make
make install

# 可能报错 
install: cannot create regular file `/usr/man/man8': No such file or directory
make: *** [install] Error 1

# 创建即可
mkdir -p /usr/man/man8

# 运行报错
rinetd 
rinetd: can't open /etc/rinetd.conf

# 创建配置文件
vi /etc/rinetd.conf
0.0.0.0 8080 172.30.111.222 8080

# 再次运行
rinetd

 

你可能感兴趣的:(web综合应用)