blog.Gudynas.lt

Apie viską

Iptables forwarding

[email protected]:~# sysctl net.ipv4.ip_forward=1

[email protected]:~# iptables -A PREROUTING -t nat -i eth0 -p udp --dport 27102 -j DNAT --to 107.161.126.115:27106


[email protected]:~# iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 27102 -j DNAT --to 107.161.126.115:27106


[email protected]:~# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Parašykite komentarą

El. pašto adresas nebus skelbiamas. Būtini laukeliai pažymėti *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

blog.Gudynas.lt © 2018 Frontier Theme