This is a discussion on Reverse Proxy to Backend Tomcat Servers within the Web servers forums, part of the Mastering Servers category; I'm trying to setup a reverse proxy in my DMZ that will create an SSL connection to internet users. The ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
I'm trying to setup a reverse proxy in my DMZ that will create an SSL connection to internet users. The proxy will then connect clients to backend Apache and Tomcat servers unencrypted in my local network.
I hoping to set something up on Debian like Pound. Apache seems like a pain in the butt to configure for this, and Squid seems like overkill. So far I have had little success getting it setup the exact way I want it. Does anyone know of a good How To? ![]() Thanks!
__________________
Kubuntu user? http://kubuntuway.net Do you own reptiles? http://redtailconnect.net |
| Sponsored Links | ||
|
|
|
||||
|
Configuring pound is one of the easiest thing. Let us say your run pound on 190.1.5.6 public ip. All you have to do is
1) stop Apache on 190.1.5.6 port 80/443 2) configure pound to run on 190.1.5.6 port 80/443 3) configure pound to redirect traffic to internal hosts 4) my guess DMZ firewall is blocking something soemwhere Try following tutorial Tuple Shop: Deploying Rails with Pound in Front of Mongrel, Lighttpd, and Apache |
|
|||
|
Thanks for the reply.
It's not a firewall issue, because I've been testing out the configuration in the same subnet (and neither machine is running IPTable .The How To looks great, but I don't think it mentions anything about https. Would I configure https thru pound, or on the Tomcat server? I'm thinking the latter. Thanks.
__________________
Kubuntu user? http://kubuntuway.net Do you own reptiles? http://redtailconnect.net |
|
||||
|
Here is /etc/pound.conf configuration from my *working* server for standard 443 and 80 port. All request comes to 203.xx.yy.zzz:80
Code:
IE/FF => 203.xx.yy.zzz:80 => pound => redirect to => 192.168.1.6:80 => Apache Code:
ListenHTTPS
Address 203.xx.yy.zzz
Port 443
Cert "/usr/local/etc/ssl/in.vsnl.test-server/server.pem"
Service
BackEnd
Address 192.168.1.5
Port 443
End
End
End
ListenHTTP
Address 203.xx.yy.zzz
Port 80
Service
BackEnd
Address 192.168.1.6
Port 80
End
End
End
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
When I hit the pound server, all I get is the Tomcat page. Here's my configuration in pound.cfg:
ListenHTTP Address 10.10.10.79 port 80 ## allow Put and Delete also (by default only GET,POST, and HEAD?) xHTTP 0 Service BackEnd Address 10.10.10.89 port 8080 END END END
__________________
Kubuntu user? http://kubuntuway.net Do you own reptiles? http://redtailconnect.net |
|
|||
|
Quote:
Code:
http://pengo:8080/jtrac Code:
http://pengo I enabled the highest level of logging, but I didn't see any error messages.
__________________
Kubuntu user? http://kubuntuway.net Do you own reptiles? http://redtailconnect.net Last edited by Johnny Utah; 12-11-2007 at 08:57 PM. |
|
|||
|
Good deal. Thanks for your help.
__________________
Kubuntu user? http://kubuntuway.net Do you own reptiles? http://redtailconnect.net |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tomcat shell script cron job to restart server | kasimani | Shell scripting | 4 | 05-03-2008 07:46 PM |
| Nagios on tomcat? | Vince-0 | Linux software | 0 | 04-22-2008 01:30 PM |
| Progate account across several servers | piggy | Shell scripting | 0 | 03-06-2008 08:03 AM |
| Viewing the Jakarta-Tomcat pages on Client machines | shilpigoel1 | Networking, Firewalls and Security | 7 | 08-21-2007 10:53 PM |
| Restrict number of simultaneous proxy connections in SQUID proxy | pkvmreddy | Getting started tutorials | 1 | 06-15-2007 03:52 PM |