#!/bin/sh iptables -t nat -A PREROUTING -p tcp -i eth0 -d 80.179.61.67 --dport 4662 -j DNAT --to 192.168.0.2:4662 iptables -A FORWARD -p tcp -i eth0 -d 192.168.0.2 --dport 4662 -j ACCEPT
iptables -t nat -A PREROUTING -p udp -i eth0 -d 80.179.61.67 --dport 5560 -j DNAT --to 192.168.0.2:5560 iptables -A FORWARD -p udp -i eth0 -d 192.168.0.2 --dport 5560 -j ACCEPT
eto script, a eto to chto on vudaet:
: command not found 'ptables v1.2.3: Invalid target name `ACCEPT Try `iptables -h' or 'iptables --help' for more information. : command not found 'ptables v1.2.3: Invalid target name `ACCEPT Try `iptables -h' or 'iptables --help' for more information.
no ecli zapuskat s komandnoi stroki to vce rabotaet
mozet gde to oshibka ???