LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > proxy question

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2009, 04:42 AM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Default proxy question

I recently setup a proxy through lsws from a ddos protected ip to a non protected ip. Everything works ok but of course all users have the same ip. Is there any way possible to work around this? Both servers are litespeed.

EDIT: Well I guess that is pretty retarded question and not possible the more I think about it. But if there does happen to be a way to do it, it would be nice

Last edited by felosi; 04-13-2009 at 04:53 AM..
Reply With Quote
  #2  
Old 04-13-2009, 04:07 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
The web server need to use the X-Forwarded-For header instead of the socket remote IP.
LSWS can do that, no sure others.
http://www.litespeedtech.com/docs/we...pInProxyHeader
Reply With Quote
  #3  
Old 04-13-2009, 09:07 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Ok So I set this up on the real server right? not the proxy server?
Will it affect other configs?

For example the real server is directadmin using apache config. Or would I just make a vhost out of the proxied site and do it that way?

Never mind I found it, just enabling that feature eh on the real server. Works liek a charm, simply awesome. Thanks George

Last edited by felosi; 04-13-2009 at 09:32 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:54 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.