socramag
(usa Debian)
Enviado em 17/01/2013 - 14:59h
Oi, desculpe a demora em responder mas tive alguns problemas.
Então, ainda não consigo conectar dois servidores pelo remote desktop do windows.
O meu firewall está assim:
## libera portas
iptables -A INPUT -p tcp --dport 8022 -j ACCEPT
iptables -A INPUT -p tcp --dport 8003 -j ACCEPT
iptables -A FORWARD -p tcp --dport 3000 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 3000 -j ACCEPT
iptables -A FORWARD -p tcp --dport 3389 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 3389 -j ACCEPT
iptables -A FORWARD -p tcp --dport 4550 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 4550 -j ACCEPT
iptables -A FORWARD -p tcp --dport 5550 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 5550 -j ACCEPT
iptables -A FORWARD -p tcp --dport 6550 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 6550 -j ACCEPT
iptables -A FORWARD -p tcp --dport 8081 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 8081 -j ACCEPT
### nat para maquina interna
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 33891 -j DNAT --to 192.168.0.2
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 33892 -j DNAT --to 192.168.0.4
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 4550 -j DNAT --to 192.168.0.210
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 5550 -j DNAT --to 192.168.0.210
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 6550 -j DNAT --to 192.168.0.210
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 8081 -j DNAT --to 192.168.0.210