rendered paste body#!/bin/shiptables --flushiptables --table nat --flushiptables --delete-chainiptables --table nat --delete-chainiptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADEiptables -A FORWARD -i eth1 -j ACCEPTiptables -t nat -A PREROUTING -p tcp --dport 10000:19999 -j DNAT --to-destination 192.168.0.2iptables -t nat -A PREROUTING -p udp --dport 10000:19999 -j DNAT --to-destination 192.168.0.2iptables -t nat -A PREROUTING -p tcp --dport 20000:29999 -j DNAT --to-destination 192.168.0.3iptables -t nat -A PREROUTING -p udp --dport 20000:29999 -j DNAT --to-destination 192.168.0.3iptables -t nat -A PREROUTING -p tcp --dport 30000:39999 -j DNAT --to-destination 192.168.0.4iptables -t nat -A PREROUTING -p udp --dport 30000:39999 -j DNAT --to-destination 192.168.0.4iptables -t nat -A PREROUTING -p tcp --dport 40000:49999 -j DNAT --to-destination 192.168.0.5iptables -t nat -A PREROUTING -p udp --dport 40000:49999 -j DNAT --to-destination 192.168.0.5echo 1 > /proc/sys/net/ipv4/ip_forward