Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 09 November 2024, 12:37:29 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14250 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  source based port forwarding
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: source based port forwarding  (Read 15901 times)
deepfresh
Jr. Member
*
Offline Offline

Posts: 2


« on: Friday 05 September 2008, 05:13:22 pm »

Hello,

I'm trying to setup the my endian FW in the following way:

I have several web servers in my Orange Zone all listening on Port 80. Now, I have been unable to setup endian to make a port forwarding
depending on the URL request. i.e.

if a request comes in for aaaaa.com it needs to be forwarded to server1:80
if a request comes in for bbbbb.com it needs to be forwarded to server2:80
and so on....

Anyone with some ideas how to achive this with endian?
Thanks for your help guys, greatly appreciated.
Deep
Logged
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #1 on: Friday 05 September 2008, 06:30:48 pm »

Hi there,

is this Web Service only ?
I had the same Problem an fix it when i use vhosts config at the Apache WebServer.
so when aaaa.com is comming to the server he nows that the website for this domain found in /srv/www/vhosts/aaaa.com/htdocs
and when domain bbbb.com he reached the Site from the /srv/www/vhosts/bbb.com/htdocs/

it works finde ..

if you have multible physicaly Server
try
aaaa.com goes server1:80
bbbb.com:81 goes server2:81

grettings
from Germany
Frank
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
deepfresh
Jr. Member
*
Offline Offline

Posts: 2


« Reply #2 on: Friday 05 September 2008, 08:10:02 pm »

Hello Frank,

thanks for your reply. I have different physical servers and they need to run on port 80. I had the same configuration whith
an ISA Server, where you can specify source based port forwarding meaning that a request to aaaaa.com goes to server1:80 and so on

I saw in the endian documentatino that this should be possible (at least this is what I understood) but I cannot find any setting for this.

Thanks and greetings from Switzerland :-)
deep
Logged
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #3 on: Friday 05 September 2008, 11:40:03 pm »

ok what you want is
you have 2 spcial names like aaaa.dyndns.org and bbbb.dyndns.org
together they point to the same endian but internal points to 2 different Servers .. hmmmm  Tongue
ih checks this .. i think there is a way to do this ... *i hope*

greetings ..from germany
Frank
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
blobbi
Full Member
***
Offline Offline

Gender: Male
Posts: 88


« Reply #4 on: Friday 05 September 2008, 11:57:43 pm »

what you can do
as test is

in the Firewall Portf.

add forwarding with incomming all to Server_IP1  with port 80
and
add forwarding with incomming all_IP but Port 81 to Server_IP2 with port 80

but outside of the efw you can connect  aaaa.com goes server 1 port 80
and bbbb.com:81 goes server 2 on port 80

i this this will work
beacause on my quick overwiev i have not seen anything but tomorrow i looking again Smiley
Logged

german speaking Endian Community Forum at https://www.efw-forum.de
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com