вторник, 28 апреля 2015 г.

Iptables change packet destination address

So you've faced this problem - you can't do anything to application and you know which host this application trying to connect. For example, your application connects to remote host, but you need it to connect to So here's simple solution, as simple as this:
iptables -t nat -I OUTPUT --dest -j DNAT --to-dest

Комментариев нет:

Отправить комментарий