Ola pessoal, Tenho um servidor com duas
interfaces de rede: LAN_IP="192.168.0.21" LAN_IFACE="eth0" INET_IP="192.168.7.106" INET_IFACE="eth1" Estou tentando acessar uma
estação da rede interna (192.168.0.23) via pcanywhere a partir da Internet. Coloquei
algumas linhas no meu script do iptables, mais especificamente as linhas
abaixo: iptables -t nat -A
PREROUTNING -p tcp -m tcp --dport 5631 -j DNAT --to-destination $PCANY/32 iptables -t nat -A
POSTROUTING -d $PCANY/32 -j MASQUERADE iptables -t filter -A
FORWARD -i eth0 -o eth1 -p tcp -m state --dport 5631 --syn --state NEW -j
ACCEPT iptables -t filter -A
FORWARD -i eth0 -o eth1 -p udp --dport 5632 -j ACCEPT iptables -t filter -A
FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT Mas ainda continuo sem
conseguir acessar e sem idéia do que mudar, alguma dica do que posso fazer?
Coloquei meu script Sds, Wellington Lopes |
Attachment:
firewall.conf
Description: Binary data