Koozali.org: home of the SME Server

Port forwarding Issue, anyone can help?

felvin

Port forwarding Issue, anyone can help?
« on: February 22, 2005, 02:46:28 PM »
Hi! anybody can suggest how to forward one single port lets say port 80(http) to a more than 1 machine with different IP address in my private network. I have this situation --I have SME server configure as firewall/gateway, behind my firewall my lotus domino server and IIS web server both using port 80 for my web mail(inotes) in my domino server and also my IIS server. I want to forward port 80 in both domino and IIS server but i could not do in web admin because it only allows one entry on port 80. Hope to hear somebody from this community 'coz im still a newby in Linux ...  :-)

Offline Brenno

  • *****
  • 208
  • +0/-0
Port forwarding Issue, anyone can help?
« Reply #1 on: February 22, 2005, 06:14:07 PM »
If you have iis.mydomain.com and domino.mydomain.com, add those to your virtual domains in SME.  Then, in the Hostnames and Address server-manager panel, you can change the visibility and local IP of those subdomains to point to the internal servers.

iss.mydomain.com -> 192.168.1.3
domino.mydomain.com -> 193.168.1.4

Never done it, but it should work.

felvin

Port forwarding Issue, anyone can help?
« Reply #2 on: February 22, 2005, 07:21:48 PM »
Thanks for the idea Bren. Actually, i did that already and it works well. Everything is working fine in my intranet the problem was in the outside world because I am hosting multiple domain in a single IP and since, I can only forward once the port 80 what happen now that one domain is overriding the other so , the other one lets say my mail.domain.com(webmail) can't be seen. If i used another port other the 80 to one of my domain it works fine but, i want it with default http port(80).

Offline Brenno

  • *****
  • 208
  • +0/-0
Port forwarding Issue, anyone can help?
« Reply #3 on: February 22, 2005, 07:44:22 PM »
Changing the default listening port on your internal servers was my next suggestion, but that can sometimes be problematic, too.

Would it be feasible to do this with an external firewall that could port forward based on the target domain?