Loading…
Port ranges over individual ports can be indicated with <option>redirect_port</option>. For example, <replaceable>tcp 192.168.0.2:2000-3000 2000-3000</replaceable> would redirect all connections received on ports 2000 to 3000 to ports 2000 to 3000 on client <systemitem>A</systemitem>.
<option>-redirect_port</option> 参数可以用来指出端口范围来代替单个端口。例如, <replaceable>tcp 192.168.0.2:2000-3000 2000-3000</replaceable> 就会把所有在端口 2000 到 3000 上接收到的连接重定向到主机 <systemitem>A</systemitem> 上的端口 2000 到 3000。