Presmerovanie portu na inú IP cez webmina + iptables
Napsal: pát 2. bře 2007, 13:55
Diskuze o hardware, software a overclockingu
https://forum.pctuning.cz/
Kód: Vybrat vše
iptables -t nat -A PREROUTING -i eth0 -o eth1 -p udp --dport 27015 -j DNAT --to 87.197.5.82
iptables -t nat -A PREROUTING -i eth0 -o eth1 -p udp --dport 26900 -j DNAT --to 87.197.5.82
Kód: Vybrat vše
iptables -t nat -A PREROUTING -d 192.168.0.1 -p udp --dport 27015 -j DNAT --to 87.197.5.82
iptables -t nat -A PREROUTING -d 192.168.0.1 -p udp --dport 26900 -j DNAT --to 87.197.5.82