Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Port shows connection failed

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 180 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kdmiller61K
      kdmiller61
      last edited by

      Ver: 2.9.0-RELEASE (amd64)
      when I use Diagnostics/Test Port and give the GUI my public IP is says port 25 cannot connect
      here is the rule:
      WAN TCP * * WAN Address 25(SMTP) internal address 25(SMTP)

      telnet shows that it does connect
      Trying 72.196.X.X.
      Connected to 72.196.X.X
      Escape character is '^]'.
      220 justourmail.com ESMTP Postcow

      Keith

      patient0P GertjanG 2 Replies Last reply
      Reply Quote 0
      • patient0P
        patient0 @kdmiller61
        last edited by

        @kdmiller61 where are you telnet-from from? Does your ISP allow port 25, to check you can run a package capture on WAN for TCP and port 25 to see if your request get to the WAN interface at all. Ideally you test that from an external computer/VPS, not from within your network/router. And have you set (manually or automagically) a firewall rule for the access to the SMTP server?

        1 Reply Last reply
        Reply Quote 0
        • GertjanG
          Gertjan @kdmiller61
          last edited by Gertjan

          @kdmiller61 said in Port shows connection failed:

          here is the rule:
          WAN TCP * * WAN Address 25(SMTP) internal address 25(SMTP)

          That's a NAT ?
          Like the third one :

          d2395b8d-bef9-4e92-999e-6b671a933a18-image.png

          ?

          A NAT rule has two parts.
          The NAT rule itself, and the firewall (WAN) rule that actually opens the port on the WAN interface.

          Here's mine (third one) :

          8dd28609-41d7-4e25-86b2-615c4d9734b8-image.png

          The order of the WAN firewall rules is important.

          Isn't 72.196.X.X an ISP ? Cox ... ?
          Hosting a mail server behind a vanilla end-consumers ISP IP works in theory only. The big players (yahoo, microsoft, gmail, etc) will probably not produce the result you're looking for.
          Check your mail with internet.nl and https://mail-tester.com/?lang=en, the goal is '100 %'.

          edit :

          195858d3-8749-446f-9f73-41d3fa836556-image.png

          check with Diagnostics > DNS Lookup the host name you used resolves to.
          And as @patient0 said : the only valid test is the one executed from the 'outside'.

          No "help me" PM's please. Use the forum, the community will thank you.

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy