Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: shackleton on January 23, 2008, 08:51:45 AM

Title: port forwarding in server mode only?
Post by: shackleton on January 23, 2008, 08:51:45 AM
My new ISP is blocking incoming port 25... :mad:

I'm running 7.3 and wish to forward port 2525 to 25 so that I can utilize the no-ip.com reflecter service.

I'm behind a linksys wrt54g router and cannot put the server in server/gateway mode for several reasons, only one network card, etc...

is there a way to forward the ports like described above or should I look at this from a different angle?

thanks for the previous help in my moved server question (the blocked port 25 wound up being the answer),

Shackleton
Title: Re: port forwarding in server mode only?
Post by: william_syd on January 23, 2008, 09:23:47 AM
My new ISP is blocking incoming port 25... :mad:

I'm running 7.3 and wish to forward port 2525 to 25 so that I can utilize the no-ip.com reflecter service.

I'm behind a linksys wrt54g router and cannot put the server in server/gateway mode for several reasons, only one network card, etc...

is there a way to forward the ports like described above or should I look at this from a different angle?

thanks for the previous help in my moved server question (the blocked port 25 wound up being the answer),

Shackleton

You do the port forwarding in your router.
Title: Re: port forwarding in server mode only?
Post by: shackleton on January 23, 2008, 07:22:36 PM
Thanks for the  reply,

 I have tried that, however, after several hours of messing with it, it appears that the linksys wrt54g can only forward 25 to 25, 80 to 80, etc.  it can't port map 2525 to 25, or basically it can not forward a specific numbered port to completely different numbered port.  Is there a different router I should look at getting or some other method using my current router?

Thanks,

Shackleton
Title: Re: port forwarding in server mode only?
Post by: william_syd on January 24, 2008, 01:34:26 AM
Prior to your post I thought all routers could map to different ports.

I use a SmoothWall box infront of my SME. Works for me.

Email Linksys and express your displeasure.

You will probably have to evaluate the cost of a replacement router or doing what you have to to put SME into server-gateway mode.
Title: Re: port forwarding in server mode only?
Post by: imcintyre on January 24, 2008, 02:56:32 AM
I have the same router. Some time ago I installed new software on the router.

After the port forwarding tab, there is another tab called Port Redirection. Perhaps this could help.

Quote
Port Redirection Table
Application External Internal           Protocol       IP Address  Enable
                                        to   TCP UDP Both 192.168.7.   
 

It has been along time and I don't remember what the original interface is. I can't look at the router know but I remember that anything up to v5 could have the software upgraded.
Title: Re: port forwarding in server mode only?
Post by: william_syd on January 24, 2008, 07:49:47 AM
I have the same router. Some time ago I installed new software on the router.


Was that Linksys firmware or third party?

The router appears to be a Hackers Paradise (http://forums.hardwarezone.com.sg/showthread.php?t=998127).
Title: Re: port forwarding in server mode only?
Post by: imcintyre on January 24, 2008, 03:03:19 PM
Third Party
Firmware Version : v4.70.8, Hyperwrt 2.1b1 + Thibor14

I have never tried this option, so I can't say that this works or not. It seems to be the right page.
Title: Re: port forwarding in server mode only?
Post by: mmccarn on January 26, 2008, 09:05:37 PM
1. Configure the Linksys router to forward port 2525 to port 2525 on your SME server
2. On your SME server, goto server-manager::Security::Port forwarding.  Click on "Create port forwarding rule" and create a rule that forwards traffic from port 2525 to port 25 on "localhost" - this will re-direct all inbound SMTP on 2525 to your SME smtp server.

Title: Re: port forwarding in server mode only?
Post by: william_syd on January 27, 2008, 12:22:42 AM

1. Configure the Linksys router to forward port 2525 to port 2525 on your SME server
2. On your SME server, goto server-manager::Security::Port forwarding.  Click on "Create port forwarding rule" and create a rule that forwards traffic from port 2525 to port 25 on "localhost" - this will re-direct all inbound SMTP on 2525 to your SME smtp server.


I'm behind a linksys wrt54g router and cannot put the server in server/gateway mode for several reasons, only one network card, etc...


Quote from: server-manager
This server is currently in serveronly mode and portforwarding is not possible.

Title: Re: port forwarding in server mode only?
Post by: mmccarn on January 27, 2008, 07:19:25 PM
Doh!

This seems to work on my server-only system:
Code: [Select]
db portforward_tcp set 2525 forward DestHost a.b.c.d DestPort 25
signal-event remoteaccess-update
Replace 'a.b.c.d' with the LAN IP of your server-only SME - using '127.0.0.1' does not work...
Title: Re: port forwarding in server mode only?
Post by: shackleton on January 27, 2008, 11:48:43 PM
Hello all and thankyou for all the advice.  It helped me fix the problem.

I was able to use no-ip.com to circumvent the incoming port 25 block and was able to upgrade my linksys wrt54g with the latest Tomato firmware which allowed me to port map another port to my server's port 25 from the router rather than setup the sme server as server/gateway.

My webmail access still isn't working but I'll fix that another day.

Thanks again,

Shackleton
Title: Re: port forwarding in server mode only?
Post by: william_syd on January 28, 2008, 12:01:56 AM

My webmail access still isn't working but I'll fix that another day.


My experience with residential ISP's is if they block port 25 they almost always block port 80. Port 443(https) seems to get left untouched.

Title: Re: port forwarding in server mode only?
Post by: imcintyre on January 28, 2008, 06:31:43 PM
You may want to change services, I am changing from the big conglomerate to a smaller conglomerate for less money, with no ports blocked and got a static ip ($2.00 extra/month)  :grin:
Title: Re: port forwarding in server mode only?
Post by: beakersloco on February 03, 2008, 04:54:46 AM
bump so i can find it..
Title: Re: port forwarding in server mode only?
Post by: william_syd on February 03, 2008, 04:57:52 AM
bump so i can find it..

Did you find some information here useful?

Why don't you package it into a How-To or FAQ and place it in the wiki.

After all, others may find it useful.
Title: Re: port forwarding in server mode only?
Post by: imcintyre on February 03, 2008, 06:59:18 AM
velcom
Title: Re: port forwarding in server mode only?
Post by: electroman00 on June 25, 2008, 04:28:32 PM
.
Title: Re: port forwarding in server mode only?
Post by: imcintyre on June 26, 2008, 05:43:24 AM
???