Hi. I'm using my debian 3.0 (2.4.26) box as adsl router and firewall and i tryed to use this rules http://www.linuxhelp.net/guides/iptables/. Almost everything works as supposed to but this one part i can't get working. So opening ports on local linux machine works but when i want to route from my router box to my windows computer that rule doesn't work.
From script :
# If you would like to forward specific ports to other machines
# on your home network, edit and uncomment the rules below. They are
# currently set up to forward port 25 & 53 (Mail & DNS) to 10.1.1.51.
# Anything incoming over your $INT through your gateway will
# be automatically redirected invisibly to port 25 & 53 on 10.1.1.51
#$IPT -t nat -A PREROUTING -i $INT -p tcp --dport 25 -j DNAT --to 10.1.1.51:25
#$IPT -t nat -A PREROUTING -i $INT -p tcp --dport 53 -j DNAT --to 10.1.1.51:53
#$IPT -t nat -A PREROUTING -i $INT -p udp --dport 53 -j DNAT --to 10.1.1.51:53

# These two redirect a block of ports, in both udp and tcp.
#$IPT -t nat -A PREROUTING -i $INT -p tcp --dport 2300:2400 -j DNAT --to 10.1.1.50
#$IPT -t nat -A PREROUTING -i $INT -p udp --dport 2300:2400 -j DNAT --to 10.1.1.50

>

so i wanted on my windows box to open two ports 113 and 3389 so i entered these rules :

$IPT -t nat -A PREROUTING -i $INT -p tcp --dport 3389 -j DNAT --to 192.168.0.2:3389
$IPT -t nat -A PREROUTING -i $INT -p tcp --dport 113 -j DNAT --to 192.168.0.2:113

and it doesn't seem to work i can't send or recive ident requests or i can connect with remote windows to my windows machine, before i had simple rules
like drop ppp0 and then i opened few local ports and for ident i used this rule
iptables -t nat -A PREROUTING -s 0/0 -p tcp --dport 113 -j DNAT -i ppp0 --to-destination 192.168.0.2:113.
Remote screen i can fix with redir open port on linux router and then redir it to windows that works, but for ident it says cannot bind and i would rather use like rule in iptables than use redir.
thx in advance for help i hope somebody will manage to figure out this problem.