You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by salil GK <gk...@gmail.com> on 2016/12/16 11:53:24 UTC
Help regarding ATS configuration
Hello
I am new to trafficserver - and need to do some quick stuff with traffic
server
Need some help on this
Basically what I wanted to do is - to have a forward proxy configured in my
server
so basically my setup is like this - I have MachineA, MachineB and MachineC
So my traffic server forward proxy will run in MachineB
so MachineA need to send out a https packet to a server in internet and the
packet need to be forwarded through MachineB - and through MachineC and
then to internet
Machine B is in enterprise network and MachineC is exposed to internet
so what I am planning is to have a forward proxy configured in MachineB and
create an SSH tunnel between B and Chave some plugin in MachineB and when
packet comes, to MachineB, validate,verify and forward it through tunnel to
MachineC and from there forward to internel
So there are some questions here -
1. Will it be possible to have plugins for forward proxy ?
If so do I get some sample code with basic code !
Any kind of help is really apreciated
MachineA will send the packet to internet setting MachineB as a proxy -
that is it
Thanks
Salil
PS: I have posted this content in the IRC channel too
Re: Help regarding ATS configuration
Posted by Alan Carroll <so...@yahoo-inc.com.INVALID>.
There is very little difference between forward and reverse proxy, all plugins work the same way in both. There are many examples in the source tree, in "examples", "plugins", and "plugins/experimental".
For setting up your network, I would probably use a "fake" name from the point of view of A. That is, tell A that B is the server and have A make an HTTPS conection to B. Then on B use a remap rule to change the request from B to C, or to the final origin server. If you need to force the B->C connection you could remap the request to C on B. This would give you TLS along the entire chain.
On Friday, December 16, 2016 5:53 AM, salil GK <gk...@gmail.com> wrote:
Hello
I am new to trafficserver - and need to do some quick stuff with traffic
server
Need some help on this
Basically what I wanted to do is - to have a forward proxy configured in my
server
so basically my setup is like this - I have MachineA, MachineB and MachineC
So my traffic server forward proxy will run in MachineB
so MachineA need to send out a https packet to a server in internet and the
packet need to be forwarded through MachineB - and through MachineC and
then to internet
Machine B is in enterprise network and MachineC is exposed to internet
so what I am planning is to have a forward proxy configured in MachineB and
create an SSH tunnel between B and Chave some plugin in MachineB and when
packet comes, to MachineB, validate,verify and forward it through tunnel to
MachineC and from there forward to internel
So there are some questions here -
1. Will it be possible to have plugins for forward proxy ?
If so do I get some sample code with basic code !
Any kind of help is really apreciated
MachineA will send the packet to internet setting MachineB as a proxy -
that is it
Thanks
Salil
PS: I have posted this content in the IRC channel too