История изменений
Исправление aido, (текущая версия) :
я делал вот так:
iptables -t nat -A PREROUTING -i eth0 -p udp -m udp --dport 40001 -j DNAT --to-destination 192.168.1.1:40002iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT udp -- anywhere anywhere udp dpt:40001 to:192.168.1.1:40002
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
vlc <external_router_IP>:<port> и смотреть видео.
Не сработало.Исходная версия aido, :
я делал вот так:
iptables -t nat -A PREROUTING -i eth0 -p udp -m udp --dport 40001 -j DNAT --to-destination 192.168.1.1:40002iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT udp -- anywhere anywhere udp dpt:40001 to:192.168.1.1:40002
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination