Koozali.org: home of the SME Server

port 25 is blocked

Offline boelen

  • 2
  • +0/-0
port 25 is blocked
« on: October 04, 2007, 09:39:43 PM »
Hi,

I found a lot of topics in this forum about this subject but i can find a solution for my problem.
I configured my 7.2 sme server in "server-only" mode. Now i want to change my smtp port (25 to for example 2525) but in the server-manager the menu portforwarding is not possible.

How can i change my port number from smtp 25/tcp to 2525/tcp?
Is it enough to change this number in my services file?
Do i need to restart something to get my mail on port 2525?
I even can't find a HOWTO for this subject when the portforwarding menu isn't possible.

Greetings,
Hans

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: port 25 is blocked
« Reply #1 on: October 05, 2007, 02:36:18 AM »
I configured my 7.2 sme server in "server-only" mode. Now i want to change my smtp port (25 to for example 2525) but in the server-manager the menu portforwarding is not possible.
Correct, port-forwarding takes an port from your external inteface and outputs it on a different port on your internal interface (well, that's the normal usage), but as you are running in server-only mode, you only have the one interface....

Why don't you just configure your router / firewall / gateway device to do the port forwarding (eg. from 2525 to 25)? That way you don't need to stuff around with your smeserver.

Trevor B

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: port 25 is blocked
« Reply #2 on: October 05, 2007, 05:31:42 AM »
I've put the commands you need to run in this bug report: http://bugs.contribs.org/show_bug.cgi?id=3448


Offline boelen

  • 2
  • +0/-0
Re: port 25 is blocked
« Reply #3 on: October 05, 2007, 02:39:31 PM »
Ok,
Thanks,
I think a gonna install a second NIC and reconfigure it as gateway.
Then i use the portforwarding option.

Greetings,
Hans

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: port 25 is blocked
« Reply #4 on: October 05, 2007, 03:00:18 PM »
Ok,
Thanks,
I think a gonna install a second NIC and reconfigure it as gateway.
Then i use the portforwarding option.
Do you have a router in between your ISP and your server which is capable of port forwarding? If so it is much easier, just port forward port 15 on your router to port 25 of your SME Server ip as mentioned in before mentioned bug as well.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)