How to listen on two ports

How to listen on two ports

Postby Pugglewuggle » Wed Nov 12, 2008 8:27 pm

Is there a way to do this with one service? For example, POP3 listening on 109 and 110?

Thanks!
Pugglewuggle
 
Posts: 89
Joined: Thu Sep 20, 2007 6:38 pm

Re: How to listen on two ports

Postby rob » Thu Nov 13, 2008 11:01 am

Presently AMS doesn't support this directly but this can easily be achieved by adjusting your router or firewall to open 2 ports, which both forward to the same intenral port (i.e. 110 external points to 110 interal, 109 external points to 110 internal). This creates the same affect, you can read another description in our FAQ...

http://www.code-crafters.com/abilitymailserver/faq.html#2ports
rob
 
Posts: 415
Joined: Mon Sep 10, 2007 2:34 pm

Re: How to listen on two ports

Postby Pugglewuggle » Thu Nov 13, 2008 6:48 pm

I've done this, but Cisco devices won't let you put in static NAT translations to the same internal IP/port from multiple external destinations.
Pugglewuggle
 
Posts: 89
Joined: Thu Sep 20, 2007 6:38 pm

Re: How to listen on two ports

Postby rob » Fri Nov 14, 2008 11:00 am

No problem, you create the same effect using the windows firewall, and simply punch the appropiate ports through your router.
rob
 
Posts: 415
Joined: Mon Sep 10, 2007 2:34 pm

Re: How to listen on two ports

Postby NicholasN » Thu Dec 18, 2008 11:38 pm

This works great without messing with firewall. We install it on the AMS server and forward port 26 to port 25. This is to avoid the SMTP port 25 block on most residential DSL and Cable lines.

NetworkActiv AUTAPF
www.networkactiv.com
NicholasN
 
Posts: 4
Joined: Fri Jun 13, 2008 3:29 pm

Re: How to listen on two ports

Postby rob » Fri Dec 19, 2008 11:20 am

Using a non standard port for the SMTP is fine if the SMTP is used only for outgoing mail from users or mail relayed directly to it from a third party service. If your mail server is one of the MX hosts, then it is essential to have port 25 open otherwise external delivery mail servers will not be able to connect unfortunatly.
rob
 
Posts: 415
Joined: Mon Sep 10, 2007 2:34 pm

Re: How to listen on two ports

Postby ehavemann » Sat Dec 20, 2008 5:15 pm

I use a free command-line utility on my AMS server called "Port Mapper" (http://www.kmint21.com/free/) to cause AMS to accept SMTP requests on port 26 as well as port 25. The utility is "pm.exe", and the command-line syntax is "pm 26 127.0.0.1 25". The syntax means that any incoming port 26 traffic is routed to IP address 127.0.0.1 (ie the same machine), port 25. So in your case it would be "pm 109 127.0.0.1 110".
ehavemann
 
Posts: 26
Joined: Fri Dec 14, 2007 6:15 pm


Return to General

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron