$ cat /etc/rinetd.conf # # this is the configuration file for rinetd, the internet redirection server # # you may specify global allow and deny rules here # only ip addresses are matched, hostnames cannot be specified here # the wildcards you may use are * and ? # # allow 192.168.2.* # deny 192.168.2.1? # # forwarding rules come here # # you may specify allow and deny rules after a specific forwarding rule # to apply to only that forwarding rule # # bindadress bindport connectaddress connectportA # logging information logfile /var/log/rinetd.log # uncomment the following line if you want web-server style logfile format # logcommon
映射关系
# bindadress bindport connectaddress connectportA 192.168.2.1 80 192.168.2.3 80 192.168.2.1 443 192.168.2.3 443
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。