Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: stanman on April 01, 2008, 07:53:04 am

Title: mail port 25
Post by: stanman on April 01, 2008, 07:53:04 am
hi, I'm having a bit trouble getting the mailserver to accept connections from the outside. Here's my setup:
wan -> router -> Lan. Somewhere on the lan there's the ebox sitting, if i port forward port 25 to my ebox, i can't telnet on port 25. If I portforward to an ubuntu machine (not ebox) i can connect. So somewhere in the firewall there's a problem letting port 25 tcp data in. Any suggestions? Thanks in advance
Title: Re: mail port 25
Post by: sixstone on April 01, 2008, 09:09:34 am
You must set a rule in "Firewall->Filtering rules for internal networks" which allows all incoming connections to tcp/25. To do so, previously, you must a create a service "Services->Add new" whose configuration consists of a destination port with "tcp/25" value.

I hope this helps.
Title: Re: mail port 25
Post by: stanman on April 01, 2008, 02:21:44 pm
nope, no luck yet.

I portforward my routers incoming tcp/25 data to the internal interface of the ebox (it only has one: eth0). If i don't have any rules set, i can still connect from a local ip to the box. Yet from the outside it's not possible.

Thanks for answering though. Any more suggestions?
Title: Re: mail port 25
Post by: sixstone on April 01, 2008, 03:56:33 pm
Sorry, I made a mistake in the table to add this rule  :-[.

The rule must be added in "Filtering rules from internal networks to eBox" table instead of the one saying above.

I'm apologised for this mistake.
Title: Re: mail port 25
Post by: stanman on April 02, 2008, 11:46:33 am
hi, thanks. But stupid me found out there was no default gateway set :(
there's no need to setup any firewall rules to accept mail... Really dumb, sorry.
What a great system this is