make a DNAT requesting source
counter at counter.cvignolo.cl
Mon Oct 24 17:25:13 CEST 2005
Hi to all, i have the next problem.
I have 2 machines, one, listen from port 80 of ip alias 192.168.0.220 and
another ip alias 10.0.0.5, and the other machine have listen a webserver in the
port 8001 with a ip alias 10.0.0.1, y succesfully make a connection from the
192.168.0.0/24 to 10.0.0.1 thought the first machine, but the packages don't go
back, because 10.0.0.1 does not route the packages to 10.0.0.5, and i can't do
it, because the idea is listen 3 webservers listen on different ports with the
same case, how i can do a DNAT, queryng the source of the package, because i
need in the machine 2, the packages outgoing from 10.0.0.1 from port 8001 go to
10.0.0.5 an this route the package with masqued network...
More information about the netfilter