[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: global environment variables?



On Mon, Dec 03, 2001 at 10:03:43AM -0500, Alan Shutko wrote:
| Erik Steffl <steffl@bigfoot.com> writes:
| 
| >   IIRC there is a way to make this transparent to applications, check
| > the docs (don't remember which, try how-to's on NAT and related kernel
| > functions, proxy or something like that).
| 
| As far as I can tell, there's no way to do transparent proxying for the
| same box as the rules are on.

Wouldn't the following do it?

iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to their.ip:8080

-D

-- 

How great is the love the Father has lavished on us,
that we should be called children of God!
        1 John 3:1 



Reply to: