Koozali.org: home of the SME Server

port forwarding in server mode only?

Offline shackleton

  • *
  • 11
  • +0/-0
port forwarding in server mode only?
« 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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #1 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline shackleton

  • *
  • 11
  • +0/-0
Re: port forwarding in server mode only?
« Reply #2 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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #3 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.
« Last Edit: January 24, 2008, 01:36:45 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: port forwarding in server mode only?
« Reply #4 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.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #5 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: port forwarding in server mode only?
« Reply #6 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.

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: port forwarding in server mode only?
« Reply #7 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.


Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #8 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.

Regards,
William

IF I give advise.. It's only if it was me....

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: port forwarding in server mode only?
« Reply #9 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...

Offline shackleton

  • *
  • 11
  • +0/-0
Re: port forwarding in server mode only?
« Reply #10 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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #11 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.

Regards,
William

IF I give advise.. It's only if it was me....

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: port forwarding in server mode only?
« Reply #12 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:

Offline beakersloco

  • ****
  • 142
  • +0/-0
Re: port forwarding in server mode only?
« Reply #13 on: February 03, 2008, 04:54:46 AM »
bump so i can find it..
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: port forwarding in server mode only?
« Reply #14 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.
Regards,
William

IF I give advise.. It's only if it was me....