port forwarding
We have windows network of i/p address range
192.168.10.0 ----192.168.10.255
also we have dishnet line with fix ip address 61.11.12.55 on which our windows 2000 web server is running
now we want network such that between internet and we linux box will be there having three network card
1. one card wll connect directly to internet with ip address of 61.11.12.55
2. second card will connect to local lan with ip address of 192.168.10.4
3. third card will connect to our mail and web server of ip address 192.168.100.1 and web server ip address is 192.168.100.2
now whatever traffic coming on 61.11.12.55 for web and ftp will be diverted to 192.168.100.2 also local traffic that is from 192.168.10.0/0 out of that only some machine will get internet via network address translation(nat) from linux box .
so this is the thing on linux box I can forward any port i.e I can forward port 21 to port 80 by iptables
but if I try to do that with windows machine that mean if I try to forward port 21 of linux machine to port 21 of ftp server then I cant ftp to linux box it accept the command but no response can u ask anyone where to get log of iptables
regards
|