36.2. rinetd.conf

简介:
$ 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 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
6天前
|
网络协议 安全
一个可以运行的vsftp.conf
该配置文件为VSFTPD服务器设置,禁用匿名访问,启用本地用户访问和写入权限,设置umask为022。监听IPv6,关闭监听IPv4,使用20端口连接,被动模式端口范围10050-10060,允许可写chroot,启用TCP Wrappers安全控制。根目录设为/var/www。
32 16
|
9月前
|
安全 网络协议 Linux
sshd_conf 配置文件详解
sshd_conf 配置文件详解
295 0
|
9月前
|
Unix Linux 开发工具
1-vim介绍
1-vim介绍
51 2
|
开发工具 Windows Perl
|
机器学习/深度学习 Shell Apache
httpd.conf 配置
# # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions.
1083 0
|
网络协议 开发工具