Author Topic: mail port 25  (Read 2086 times)

stanman

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
mail port 25
« 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

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: mail port 25
« Reply #1 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.
My secret is my silence...

stanman

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: mail port 25
« Reply #2 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?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: mail port 25
« Reply #3 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.
My secret is my silence...

stanman

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: mail port 25
« Reply #4 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