Koozali.org: home of the SME Server

port forwarding

Lynn

port forwarding
« on: April 04, 2002, 09:47:49 PM »
I have that port forwarding add-in installed for the web-console.

I forward port 113 to my address for ident id on IRC.

But every morning, when I turn on the server, then my PC, the port forwarding doesnt work.

I have to re-enter the forward, and it works the rest of the day.

Is this a known bug? should I edit the port forwarding by hand rather than use the add-in? Is it because my PC gets its IP by dhcp, even tho its the same one everyday?

Where would I edit the config file for port forwarding?

Thanks....

mike mattos

Re: port forwarding
« Reply #1 on: April 05, 2002, 06:59:02 PM »
asssuming you don't want the port forwarded when you are not using the computer, you could try adding it to a user login script, every time that user ( you ) login, it would start the port forwarding script.  

Question for you, WHAT port forwarding add - in ?  I have been reading the user guide & white paper, because I'd like to use SME to replace a little gateway that isn't reliabel but is very simple to administer!

thx

Mike

Lynn

Re: port forwarding
« Reply #2 on: April 05, 2002, 07:08:04 PM »
Its in the contrib directory of this website:

http://myezserver.com/downloads/mitel/contrib/

Lots of goodies in there. Might also be on the e-smith site...

mike mattos

Re: port forwarding
« Reply #3 on: April 05, 2002, 11:52:48 PM »
lynn, I just comnpleted the port forwarding install, no errors, but also no access from the server manager console .

Are you using command line or console ?  

Aslo, I tried to e-mail you today, failed, message was

smtp error from .......

host hotrodpc.com[206.xxx.xxx.xxx]: 554 5.1.0 Sender Denied

my return address on my mail is NOT where I send from, this has caused problems in the past, hope this helps

Mike

Lynn

Re: port forwarding
« Reply #4 on: April 06, 2002, 12:08:09 AM »
That particular package adds an option to the webpage-based server manager:

https://server/server-manager

//server/ = the name of your server (or its IP addy)

In the Configuration section, you'll see a new line called Port Forwarding.

Sorry about the email - my server is set to deny mail from domains like hotmail, yahoo, and many others because of all the spam.

I'm getting email when you post in here, tho.

good luck...

mike mattos

Re: port forwarding
« Reply #5 on: April 06, 2002, 01:07:10 AM »
lynn, we figured it out, the portforward rpm needed the install.sh to be run, since I was loading about 6 rpms. I failed to notice the script file!  The manager works fine now.

your original question, not autoloading, reminds me of Lantastic pre version 5, no matter what order you start the network, some resources were not on line for some users, so you had to start all stations and then restart the problem stations!

however, now I am starting to test port forwarding and it isn't working!

My e-smith 4.x is working at 192.168.0.1 as a gateway & web server, and I forwarded port 80  on the 5.1 system to 192.168.0.1:80  

my SME5.1 is 192.168.0.111 local and 192.168.0.211 global.

BOTH return  "this website is under construction" rather than forwarding to the old machine!   This duplicates the problem I am actually trying to solve, users can browse but clients can't reach the web server!  

ALL suggestions gratefully received

Mike

PS  Interesting product mix at your website!  Is there a small office ( 4 lines or less ) version of a PBX/ voice over IP yet ?

Lynn

Re: port forwarding
« Reply #6 on: April 06, 2002, 01:41:28 AM »
Not sure what you're trying to do exactly, but port forwarding is for routing traffic thats inbound from the Internet to a particular service. (an internal server)

Its how you allow unknown users to access your web/mail servers that are hidden behind the gateway/firewall.

So, you'd use it on the gateway, not the "5.1 system" that you mentioned, (assuming that the 4.x is the current gateway/firewall). Is the 5.1 system just a webserver? Or is it going to replace the 4.1 system?

Also not sure what you mean by "192.168.0.111 local and 192.168.0.211 global" IP addys for the 5.1 system. It has two nics and its behind the 4.1 system?

If it's behind the gateway (just a server on the private LAN) it wouldn't need two...

Terry Brummell

Re: port forwarding
« Reply #7 on: April 06, 2002, 02:09:06 AM »
Mike, in regards to the VoIP question, yes we have a small office VoIP pbx.  It supports up to 24 VoIP phones, 10 analog extensions, current support for 8 loop start trunks, 2 internal modems (for remote access to the maintenance system or dialout to an ISP), WAN port, support for a total of 100 IP devices, DHCP and firewall.  When used in conjunction with a SME v5 the limits are endless.
If you want more information on the product go to the Mitel website and search for "3100" or "Mitel Networks 3100".
Furture development is for T1 integration and more IP sets.

PS-We also have a large IP system that supports up to 700 VoIP sets, 72 analog sets and around 6 T1's if I remember correctly.  It is the Mitel Networks 3300 ICP.

Terry

Tim

Re: port forwarding
« Reply #8 on: April 06, 2002, 08:23:48 PM »
Lynn, I have been using the Port Forwarding for a couple of month sense I set up my SME server 5.1.2. I have not had the problem you mention at all. I do leave my server running all the time though. Maybe if you let the server start up and load 100% and then start your other box the forwarding will work? You might also try to uninstall the rpm and reinstall. I use it with a pc to phone app on my win xp machine. I have never had any problems though even after restarting the server. Sorry I could not help more!- Tim

Lynn

Re: port forwarding
« Reply #9 on: May 02, 2002, 02:03:47 AM »
It turned out to be the lpd service (print spooler).

I added a contrib'ed option to control the system's services. It adds a page to the server-manager that lets you turn off things like FTP, Macintosh file & print sharing, etc.

When I use that page to disable the lpd service, the port forwarding hangs. It's possible its a problem with the add-in, or the port forwarding depends on the lpd service, etc.

I'm not going to worry about it. I leave the lpd service on, and its happy.

Thanks for the replies...