I like know how enable all my lan inside for conections pcAnywhere. Actualy connection pcAnywhere is realization by a computer in my lan inside (192.168.1.100) with success. :)
---------------------------------- | server conection ADSL Red Hat 9.0| ---------------------------------- | | ----------------------------------------------- | | | 192.168.1.100 192.168.1.102 192.168.1.103 Windows 2000 Windows 98 Windows 2000
iptables -A INPUT -p tcp --dport 5631 -j LOG --log-prefix "Servico TCP PCAny"
iptables -A INPUT -p udp --dport 5632 -j LOG --log-prefix "Servico UDP
PCAny"
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 5631 -j DNAT --to-destination 192.168.1.100 iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 5632 -j DNAT --to-destination 192.168.1.100
iptables -t filter -A FORWARD -i ppp0 -o eth1 -p tcp -m state --dport 5631 --syn --state NEW -j ACCEPT iptables -t filter -A FORWARD -i ppp0 -o eth1 -p udp --dport 5632 -j ACCEPT iptables -t filter -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
Thanks, João
Esta precisand