Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: funkusmunkus on April 22, 2004, 07:27:18 AM
-
Hi all,
I have an e-smith 5.6 box as a firewall, and i wanted to be able to access the website remotely that was on a windows machine behind it, seeing as port 80 is used by esmith, i tried forwarding port 8080 to port 80 on the internal website.
and no joy, am i missing something??
i got the port forwarding rpm's from here, so i guess they work.
any thought?
cheers
-
Need a whole lot more info to help with this.
Like your basic setup.
-
A little more thought here.
You can have the M$ server on port 80 except it cannot
have the same server domain-name. You would portforward to the static IP on the lan but you would need the ability to url redirect at your registra.
This assumes you only have one registered domain.
There's more than one way to skin a cat....
That's why I said need more info....!
-
first you have to open the port, then you can forward it to another machine.
there is a contrib "port-forwarding".
cheers
-
Ok here's the setup.
ADSL router---e-smith---switch windows 2003 server,and other user machines
Our ISP is hosting the website, so iwas just trying to use the IP address, i can see the e-smith webpage, but i don't know how to make a link to go to the internal site on the windows 2003 server.
i tried forwarding port 8080 to port 80 on the windows machine, but that didn't work, using the contribuition rpm, and i tried using virtualhost, but i may have configured it incorrectly.
it looked like this:
<virtualhost *>
ServerName IPaddress/server
ProxyPass / http://192.168.0.5
ProxyPassReverse / http://192.168.0.5
</Virtualhost>
but that didn't wwork, and as i said i probably did it incorrectly
192.168.0.5 being the windows server
any help would be greatly apreatiatedhttp://http://
-
Hello
check your hostname setup on the sme server you should be able to edit the ip address for your www server and point it to your windows box just look at the remote setup and enter the ip address for it
hope this helps
-
do i find the hostname info in the httpd.conf file? would i just find an entry poiting to 127.0.0.1 ?
-
You can configure all hostnames in server-manager
it will make any needed changes to your httpd.conf file
that is the idea of the template system in sme
-
gbaird thanx for info, i tried doing in the server-manager, configured the hostname, had it pointing to the right server, it seems to work, but I didn't find the changes made in httpd.conf, (this is the point were i'm jsut being a pain :) ) in the hostname destenatino, i couldn't put (192.168.0.5/link) , because the mail web page is used for the company's database site, and i didn't want any accesss to it, so if i could find the changes in httpd.conf i'd change it there.
oh by the way thanx again for the info
-
ok this is what i came up with so far:
in httpd.conf
under the <virtualhost 0.0.0.0:443>
i put an entry
ProxyPass /exchange 192.168.0.5/link
ProxyPassReverse /exchange 192.168.0.5/link
<Location 192.168.0.5/link>;
order deny,allow
allow from all
</Location>
and in the webpage i put a link href=link
did i have to put the <location ...> thingy? was allow all a bad idea?
then a remote friend tried accessing that page and was able to logon and was directed to the correct location, after entering the username and password the page starts to load, it even shows the 2 frames in the page, then times out.
any ideas?