New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
is this possible?
Void_Whisperer
Member
in Help
I want to set up some kind of proxy through one of my servers to another. That is simple enough. However, I need to be able to retrieve the original client address after the proxy. Is this at all possible?
Comments
you need to send real IP from point A(proxy frontend) to backend server, depending on your webserver you can do this, then your backend server will get right IP address.
You will find in webserver documentation how to proxy requests the right way.
Here is the link to Nginx real ip module:
http://nginx.org/en/docs/http/ngx_http_realip_module.html
I need to do this for all ports, not just a website
I still dunno if/how this is possible.
GRE?
is it possible to have the original client ip stay the same when it hits the server that is in the backend though?
EG:
When a client with ip x.x.x.x connects to server y.y.y.y, it will route the request through server y.y.y.y to z.z.z.z maintaining x.x.x.x's ip on the packet
Yes.
(Can someone confirm this?)
try this? http://www.daniele.se/howto/gre-tunnel
With GRE, anyone know a decent server host with DDoS protected vpses in dallas or just texas in general?
What OS for that for if it isn't just psuedo commands
Have a read: http://tier.cs.berkeley.edu/drupal/howto/ip-tunnel-using-gre-on-linux
Um... pretty much anything that has iptables and iproute2.