Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: mhr on May 26, 2005, 12:56:34 PM
-
Hi!
I'm running a service on my SME 6.0 box that should be available from the outside. I created a portforwarding to both localhost and internalip, but they fail. If I forward to another machine, it's running fine.
Now I read in the bugtracker that forwarding to localhost is broken in 6.0 (http://no.longer.valid/mantis/bug_view_page.php?bug_id=187). Is there a way to fix it without having to upgrade?
Any help is appreciated!
Regards,
Michael
-
Hey Michael,
it looks like you only need to add one contrib to your server: e-smith-portforwarding-1.1.0-05.
At least that is how I understood the bug tracker that you linked us to.
It would allow you to get what was needed, with-out having to upgrade the whole server. Just a thought.
Good luck
Joe
-
Hey Michael,
it looks like you only need to add one contrib to your server: e-smith-portforwarding-1.1.0-05.
I had version 0.2 of this contrib. 1.1 is for more recent releases of SME.
In the meantime I solved the problem adding a custom template for /etc/init.d/masq. It's not as easy to add a port, but it works.
Thanks for your pointer!
Michael
-
It appears i have the same problem i have SME Server 6.0.1-01 and installed the latest rpm i could 1.1.0.6 for portforwarding but if i type in my address
www.mydomain.com:1111/tsweb/ i get connection refused while attempting to contact.
Any thoughts around this? i have forwarded the applicable ports to the local machine but it wont connect, any way to verify the port forwarding worked other than what i have done?
thanks
-
Hi!
I'm running a service on my SME 6.0 box that should be available from the outside. I created a portforwarding to both localhost and internalip, but they fail. If I forward to another machine, it's running fine.
Now I read in the bugtracker that forwarding to localhost is broken in 6.0 (http://no.longer.valid/mantis/bug_view_page.php?bug_id=187). Is there a way to fix it without having to upgrade?
Any help is appreciated!
Regards,
Michael
Just a thought...did you open the port too? I mean the one you forward to?
I use dmc-mitel-portopening-0.0.1-4 to open ports to local applications.
Max.
-
nm it is working, just cant see from within local network, but able to see from outside
thanks
-
Just a thought...did you open the port too? I mean the one you forward to?
I use dmc-mitel-portopening-0.0.1-4 to open ports to local applications.
I don't know that contrib, yet. But it might do what I've done manually. I added a custom template for /etc/init.d/masq which opens the ports I need. But I'm going to have a look at that contrib, thanks!
Michael
-
nm it is working, just cant see from within local network, but able to see from outside
If you created a port forwarding your server might only listen on the external network interface. When accessing from the internal network you're accessing it from the primary interface, for which the forwarding did not create a rule. Just a guess.
But if it's forwarding, why don't you access the machine on the lan directly?
Michael
-
that could be it. The only reason i mentioned i could not access local was that i was confused why one worked and not the other. Of course when i am on the LAN i use the machine, i wanted to be sure that i could access from outside for when i am away.
thanks again
Derek