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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Proxy Setup for LiteSpeed

Reply
 
Thread Tools Display Modes
  #1  
Old 07-23-2009, 09:30 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 40
Default Proxy Setup for LiteSpeed

Hi everyone , specially dear admins !

i saw a note in LiteSpeed tools :

Code:
Transparent Reverse Proxy (interface to any web server, application server support HTTP
from here :
Code:
http://www.litespeedtech.com/litespeed-web-server-features.html
is this possible ? it's a Proxy Shield to prevent server from ddos attacks or other?

it yes , how can i do that ?
Reply With Quote
  #2  
Old 07-25-2009, 07:12 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 40
anybody can't help me ?!
Reply With Quote
  #3  
Old 07-25-2009, 08:38 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
yes, follow the document will do:

step 1:define a "Web Server" External App:

http://www.litespeedtech.com/docs/we...onfig/extapps/
"External Application:
Web Server is a server application that supports HTTP 1.0/1.1 protocols. LiteSpeed web server can serve as a transparent reverse proxy to accelerate and protect any web server and application server. "

step 2:define Proxy Context
add Context, select type "Proxy", select the web server defined in step 1.
http://www.litespeedtech.com/docs/we.../#proxyContext
"Proxy Context
Description: Proxy context enables this virtual host as a transparent reverse proxy server. Proxy server could be running in front of any web servers or application servers that supports the HTTP protocol. External web server has to be predefined in External Application."

Last edited by auser; 07-25-2009 at 08:45 AM..
Reply With Quote
  #4  
Old 07-27-2009, 05:09 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 40
Quote:
Originally Posted by auser View Post
yes, follow the document will do:

step 1:define a "Web Server" External App:

http://www.litespeedtech.com/docs/we...onfig/extapps/
"External Application:
Web Server is a server application that supports HTTP 1.0/1.1 protocols. LiteSpeed web server can serve as a transparent reverse proxy to accelerate and protect any web server and application server. "

step 2:define Proxy Context
add Context, select type "Proxy", select the web server defined in step 1.
http://www.litespeedtech.com/docs/we.../#proxyContext
"Proxy Context
Description: Proxy context enables this virtual host as a transparent reverse proxy server. Proxy server could be running in front of any web servers or application servers that supports the HTTP protocol. External web server has to be predefined in External Application."
i know from where i can add extenral apps ,but what is the value i must set for WEBSERVER , and i can't find STep 2 , please write easily , it's better tell me paths and sections !
Reply With Quote
  #5  
Old 07-27-2009, 05:58 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
web server setting example:
Name: abcd_server
Address: 11.22.33.44:80
Max Connections:100
Connection Keepalive Timeout:60
Initial Request Timeout (secs):10
Retry Timeout (secs):3
Response Buffering:No

Other fields can be empty.

for step 2, I'm managing a dedicated server, so I defined several virtual hosts.
I know in WHM/cPanel env, virtual host list can be empty and everything can be read from http.conf. not sure how to do in WHM/cPanel env, so below only refer dedicated server case.

Configuration->Virtual Hosts, my defined 3 virtual hosts list there under "Virtual Host List". Click 1 of them, then you can see "Context" button. Click the "Context"-->Add, select Type "Proxy",specify URI, Web Server. Example setting:
URI:/images/
Web Server:abcd_server

This means all visits to yourhost.com/images/, LSWS receives the requests, then pass to server abcd_server to handle the requests, abcd_server return the response result to LSWS, finally LSWS return the result to user browser.

For URIs other than /images/, LSWS may directly process them, or pass to another web server(like abcd_server) to handle it. Users can only see yourhost.com, abcd_server etc backend severs are transparent to them.
Reply With Quote
  #6  
Old 07-27-2009, 07:49 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 40
Nice Job !

i got everything ! , but i wana do this for whole of my server ! i need it only for DDOS protection , how can i config it to every connection , like site opening , ddos attacks and .... redirect to a Proxy and anyone can't determine my main ip address ?!
i wana a thing like VPN for linux vps ,
best regards ,
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 02:33 PM.



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