LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-04-2010, 09:39 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
how does ProxyPass works


want to know how does directive
ProxyPass
and ProxyPassReverse work
if I have an application on an internal webserver running on port 8080 on Lan
but I want it to be accessible on internet via Server A which has public IP
but firewall (which I do not have control blocks all except port 80)
Code:
Server A -----------------------------------------Server B
Public IP                                         LAN
(Port 8080 blocked)
if I write
Code:
ProxyPass     /application   http://192.168.1.5:8080
ProxyPassReverse  /application http://192.168.1.5:8080
will the application be accessible outside.
Or do I need to contact sysadmin to open 8080 in A in above diagram.
Is there any other way to do the same in apache2.

Last edited by tkmsr; 06-04-2010 at 09:41 AM.
 
Old 06-06-2010, 03:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,164
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi

Quote:
but I want it to be accessible on internet via Server A which has public IP
but firewall (which I do not have control blocks all except port 80)
From your writing, I understand that the firewall is in front of serverA and allows traffic from the internet only on port 80.
If that's the case, then you're not going to have any problem.

Regards
 
Old 06-06-2010, 03:45 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Ok thanks for clearing that out.Actually the server B is not running Apache.You rightly guessed firewall is in front of A.

Last edited by tkmsr; 06-06-2010 at 03:47 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where to write ProxyPass in apache2 tkmsr Linux - Server 4 04-24-2010 01:35 AM
Apache - ProxyPass / Reverse Billy_bob_joe_ray Linux - Server 1 09-29-2009 11:17 AM
ProxyPass bypasses authentication t0bias Linux - Server 0 03-08-2009 01:31 PM
VNC & ProxyPass Maniac0Maniac Linux - Networking 2 07-02-2007 11:07 PM
Apache + Mod_proxy ProxyPass paul_mat Linux - Networking 2 04-14-2006 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration