A Reverse Proxy is a type of server that retrieves resources from other servers on behalf of the client. The resources are returned to the client as though they are originated from the server itself. Client feels that the resources are being provided by the server itself, and unaware of the servers that have provided the resources.Forward proxy acts as an intermediary for its clients and returns the resources accessible on the internet.Reverse proxy acts as an intermediary for the servers to return the resources provided by other servers.Reverse proxy is most widely used when you want your application accessible in the internet, without exposing the Application Servers, in other words, it is used when you want your intranet application to be accessible through internet.The proxied server may be a webserver itself, or it may be an application server using a different protocol, or an application server.
<Object name="reverse-proxy">
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
Custom-obj.conf
-----------------------------------------------------
<Object name="default">
<Client urlhost="Reverse-Proxy-server.com">
NameTrans fn="map" from="/Revese_Proxy" name="reverse-proxy" to="http:/Revese_Proxy"
</Client>
<Object name="reverse-proxy">
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
How to Configure Reverse Proxy in iPlanet?
iPlanet 7 and above versions has inbuilt proxy plugins , so no need to load any plugins or libraries.- Add below configuration lines in obj.conf file.
<Object name="reverse-proxy">
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
- Push/ Deploy the changes in iPlanet console. No need of restart.
Custom-obj.conf
-----------------------------------------------------
<Object name="default">
<Client urlhost="Reverse-Proxy-server.com">
NameTrans fn="map" from="/Revese_Proxy" name="reverse-proxy" to="http:/Revese_Proxy"
</Client>
</Object>
<Object name="reverse-proxy">
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
Note: Only one ppath="http:*" is required for multiple Reverse Proxy configuration. No need to duplicate the ppath block every time.
How Reverse Proxy works ?
When request comes to iplanet let ex http://Reverse-Proxy-server.com/Revese_Proxy
- The default object NameTrans directive map attribute function will be execute and convert the logical URL of the request to a physical path name.
NameTrans fn="map" from="/Revese_Proxy" name="reverse-proxy" to="http:/Revese_Proxy"
- If this physical path name (http:/Revese_Proxy) matches the Object ppath="http:*" , ppath object directive proxy-retrieve function will be execute.
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
Service fn="proxy-retrieve" method="*"
</Object>
- proxy-retrieve
- The proxy-retrieve function retrieves a information from a remote server and returns it to the client. This function also enables you to configure the server to allow or block arbitrary methods. This function only works on the HTTP protocol.
- After execution of the ppath Object proxy-retrieve function ,process goes to the Object name="reverse-proxy" block.
<Object name="reverse-proxy">
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
- Route fn="set-origin-server
- Set the back end server information where to send the request .
Alternative ways to configure the Reverse Proxy in iPlanet
- Below configuration works same as above one but difference is removed the name attribute in NameTrans and added the Route function in ppath Object.
<Object name="default">
<Client urlhost="Reverse-Proxy-server.com">
NameTrans fn="map" from="/Revese_Proxy" to="http:/Revese_Proxy"
</Client>
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
Route fn="set-origin-server" server="http://backendserver.com"
</Object>
Hi Ram,
ReplyDeleteif the firewall between the iPlanet Web server and the backend server is a http_proxy,
how to configure the http_proxy information to access the remote origin servers?
I tried and set-proxy-server and set-origin-server don't seem to work in conjunction
Thanks
izmir
ReplyDeleteErzurum
Diyarbakır
Tekirdağ
Ankara
PMOM
Van
ReplyDeleteizmir
Artvin
Tunceli
Eskişehir
Q0ZF
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
GİO5XQ
5BB93
ReplyDeleteManisa Şehir İçi Nakliyat
Çerkezköy Çilingir
Nevşehir Şehirler Arası Nakliyat
Aksaray Lojistik
Bolu Lojistik
Çerkezköy Televizyon Tamircisi
Kırşehir Parça Eşya Taşıma
Erzincan Şehir İçi Nakliyat
Ağrı Şehirler Arası Nakliyat
413CD
ReplyDeleteÇerkezköy Sineklik
Altındağ Boya Ustası
Maraş Şehirler Arası Nakliyat
Denizli Şehirler Arası Nakliyat
Gümüşhane Evden Eve Nakliyat
Muş Parça Eşya Taşıma
Osmaniye Şehir İçi Nakliyat
Tokat Şehir İçi Nakliyat
Bingöl Evden Eve Nakliyat
284AA
ReplyDeleteÇerkezköy Çamaşır Makinesi Tamircisi
Tekirdağ Çatı Ustası
Bitrue Güvenilir mi
Adıyaman Parça Eşya Taşıma
Hamster Coin Hangi Borsada
Adana Şehir İçi Nakliyat
Okex Güvenilir mi
Ordu Şehir İçi Nakliyat
Yalova Şehir İçi Nakliyat
6E220
ReplyDeleteamasya rastgele sohbet
artvin sesli sohbet uygulamaları
antep sesli sohbet sitesi
uşak kadınlarla sohbet
kayseri ücretsiz görüntülü sohbet
karabük parasız sohbet siteleri
canlı sohbet
kızlarla rastgele sohbet
en iyi ücretsiz görüntülü sohbet siteleri
D7B8F
ReplyDeletezkswap
uwu lend
trezor suite
dcent
aave
dexscreener
galagames
roninchain
layerzero
41E02
ReplyDeleteaave
roninchain
onekey
layerzero
ellipal
solflare
metamask
quickswap
poocoin
5ED761B3E4
ReplyDeleteucuz takipci alma