i'm trying to redirect an ip to another ip with iptables..
but the rule don't work for the server
192.168.0.10 is my server/router
192.168.0.20, 21, 22, [...] get internet acces from 192.168.0.10...
with this command, it's working for all my client:
iptables -t nat -A PREROUTING -d 126.96.36.199 -j DNAT --to 192.168.0.10
but don't work on my server/router
probably because my server don't use NAT ?!
any idea ?
i'm confused.. :P
btw.. my server have only 1 network card
sorry for bad english..