АЗ
Size: a a a
АЗ
АЗ
К
t
АЗ
АЗ
АЗ
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport {port} -j DNAT --to-destination {ip}:22АЗ
t
АЗ
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 7000 -j DNAT --to-destination 10.41.41.177:22
АЗ
АЗ
root@tardis:~# ssh 127.0.0.1 -p 7000
ssh: connect to host 127.0.0.1 port 7000: Connection refused
AK