On 6/4/05, Junix Gaspar <[EMAIL PROTECTED]> wrote:
> > ah ok, i thought the request were gonna come direcly from the internet so i
> > specified an interface...well in this case, the ff should work.
> >
> > iptables -t nat -A PREROUTING -p tcp -j DNAT -d 10.136.58.7 --dport 80
> > --to-destination 10.136.57.7
> 
> Nope, didn't work.
> 
> Any other Ideas Out there?

on your old proxy machine,

iptables -t nat -A PREROUTING -p tcp -j DNAT -d 10.136.58.7 --dport 80
--to-destination 10.136.57.7

then on your 10.136.57.7 machine, try putting

iptables -t nat -I POSTROUTING -j SNAT -d 10.136.x.x/22 --to-source 10.136.58.7

just try it, im not sure if it will work.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to