dnat work only for 5 minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all again.

i have this rules

iptables -A FORWARD -j ACCEPT -p tcp --dport 1350
iptables -t nat -A PREROUTING -i eth0 -p tcp -d 200.20.0.2 --dport
1350 -j DNAT  --to 192.168.1.79:22

iptables -A FORWARD -j ACCEPT -p tcp --dport 1351
iptables -t nat -A PREROUTING -i eth0 -p tcp -d 200.20.0.2 --dport
1351 -j DNAT  --to 192.168.1.143:22

iptables -A FORWARD -j ACCEPT -p tcp --dport 81
iptables -t nat -A PREROUTING -i eth0 -p tcp -d 200.20.0.2  --dport
4381 -j DNAT  --to 192.168.1.143:80


and the problem is that this rules work for a while and down.... i have
a port dnatting to ICMP and work very well, anybody can say me what
happend?

firewall 200.20.0.2 Fedora Core2
server 192.168.1.143 freebsd

thanks a lot.
-- 


--------------



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux