Linux port ing forwarding tool rinetd installation use 1, download wget http://www.boutell.com/rinetd/http/rinetd.tar.gz version rinetd 0.62 www.2cto.com 2, install tar zxvf rinetd.tar.gz cd rinetd 3, run make # may be wrong, you need to modify the following: vi rinetd. c input/bindPort> = 65536 query input/connectPort> = 65536 the query will change 65536 to 65535. Otherwise, the system will prompt that the system has exceeded the maximum defined port 4 when making the system and create a directory manually. /usr/man/man8 5. After make install is successful, the system will prompt the file path install-m 700 rinetd/usr/sbin, that is, the program is placed at www.2cto.com 6, and the configuration file/etc/rinetd is created. conf content format: Source IP source port to jump to the IP address to jump to port 7, Start Program: rinetd 8, check whether the start is successful: netstat-tanulp | grep rinetd 9. Add it to start the system: vi/etc/rc. d/rc. add/usr/sbin/rinetd 10 to local. Note: The FTP redirection is not supported and the program to be stopped: pkill rinetd.