[ 
https://issues.apache.org/jira/browse/TS-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879814#comment-13879814
 ] 

Leif Hedstrom commented on TS-2511:
-----------------------------------

I'm not too sure exacty where this should go, if it should e part of one of the 
3-4 files we have, or a new one? Seems like it ought to be in one of the 
existing files :).

However, it's really easy, all I did was this;

{code}
iptables -t nat -A PREROUTING -i p1p1  -p tcp -m tcp  -s 192.168.69.0/24   
--dport 80 -j REDIRECT --to-port 8080
{code}


This works by having my internal NAT'ed network route through this router box 
(192.168.69.1), which runs ATS locally on port 8080 in forward proxy mode. I 
made no other specific ATS changes whatsoever, I only have

{code}
CONFIG proxy.config.http.server_ports STRING 8080
{code}


I'm going to reassign this to amc, so he can incorporate this as he likes (or 
at all). The above was mostly his doing anyways :).


> Document the 90% of Transparent Proxy use-cases
> -----------------------------------------------
>
>                 Key: TS-2511
>                 URL: https://issues.apache.org/jira/browse/TS-2511
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Igor Galić
>            Assignee: Leif Hedstrom
>             Fix For: Docs
>
>
> 90% of transparent proxy users need to one IPTables rule on their router and 
> they're done.
> Please document that.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to