> On Apr 8, 2015, at 5:30 PM, Yue, Cong <[email protected]> wrote:
> 
> Hi
>  
> Can somebody advise how I can do transparent proxy if I only have one physic 
> NIC in my ATS server?
> The network topology in my environment is as
> 1, I am doing forward proxy


Maybe I’m naive, but wouldn’t something like this work:

        iptables -t nat -A PREROUTING -i en0  -p tcp -m tcp  -s 10.0.0.0/8   
--dport 80 -j REDIRECT --to-port 8080


(replace 10.0.0.0/8 with you internal network range).

— leif

Reply via email to