Koozali.org: home of the SME Server

Reverse proxy

Offline Buckwheat

  • 16
  • +0/-0
Re: Reverse proxy
« Reply #30 on: October 12, 2011, 04:18:50 PM »
Quote
Which files/maps should the perms be set to 744?

That was just a reminder for reverseproxysite.sh so it will run, default
linux perms for creation of a file is 644, and thus will not execute.

To run the script you need 744 (X)

Quote
If correct, I assume I should do something like this for other ports like for instance port 21, 25 and 110?

I haven't played with those ports, so have fun, and do let us know your expert findings.
If you play with it long enough you'll have expert findings.

I do know the http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass works perfectly (w/o port forwards).
The server-manager doesn't seem to work for all occasions.

hth

Offline Buckwheat

  • 16
  • +0/-0
Re: Reverse proxy
« Reply #31 on: October 12, 2011, 04:56:57 PM »
@EdelingF
From your OP

Quote
But the only problem is to get connect the servers to the internet. I mean, to make the servers 'visible' from outside my network. I thought, no problem, just make some changes in the modem/router like I did with my old server by using port-forwarding. Wrong!

Quote
I thought, no problem,
Correct!!

You should have been able to PF to the new server without problem/issue.
My guess is you might not have removed the old PF first and you had two port 80 PF's.
Which won't work.
IOW One port -- only one port forward for that port i.e. 80.

Quote
I found out I need something like a reverse proxy.

Maybe!!
Unless of course you have some special case or issue, which is not clear at this point.
Keep in mind, with a proxy you still may need to do some redirect dirty work on the proxy, depends on what your trying to accomplish.
hth