Camargo89
(usa Debian)
Enviado em 28/07/2015 - 20:18h
tentei o seu Código e não deu certo. helppp
a politica esta ACCEPT
Chain INPUT (policy ACCEPT 472 packets, 51650 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 1370 packets, 249K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * eth0 192.168.5.0/24 192.168.0.214
Chain OUTPUT (policy ACCEPT 475 packets, 56822 bytes)
pkts bytes target prot opt in out source destination
fiz dessa maneira:
iptables -I FORWARD -s 192.168.5.0/24 -d 192.168.0.214 -o eth0 -j ACCEPT
range eth0 modem
iptables -t nat -I POSTROUTING -p TCP -s 192.168.5.0/24 -d 192.168.0.214 --dport 3389 -o eth0 -j MASQUERADE