natd.conf
Код: Выделить всё
same_ports yes
use_sockets yes
dynamic yes
redirect_port tcp 192.168.252.253:24554 24554
alias_address 192.168.199.26
port 8888
Код: Выделить всё
${fwcmd} add pass tcp from 192.168.8.7,192.168.8.8,192.168.8.13,192.168.199.25 to 192.168.199.26 24554 in via ${irif}
${fwcmd} add divert 8888 ip from 192.168.8.7,192.168.8.8,192.168.8.13,192.168.199.25 to 192.168.199.26 in via ${irif}
${fwcmd} add divert 8888 ip from 192.168.252.253,192.168.42.0/24 to 192.168.199.25,192.168.8.7,192.168.8.8,192.168.8.13 out via ${irif}
Код: Выделить всё
18:00:55.163194 IP 192.168.199.25.1061 > 192.168.199.26.24554: S 1914861674:1914861674(0) win 16384 <mss 1460,nop,nop,sackOK>
18:00:58.123257 IP 192.168.199.25.1061 > 192.168.199.26.24554: S 1914861674:1914861674(0) win 16384 <mss 1460,nop,nop,sackOK>
18:01:04.132455 IP 192.168.199.25.1061 > 192.168.199.26.24554: S 1914861674:1914861674(0) win 16384 <mss 1460,nop,nop,sackOK>