Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Outbound Telnet not working

    Scheduled Pinned Locked Moved Firewalling
    16 Posts 2 Posters 1.9k Views 2 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.
    • P Offline
      pfsense1921 @johnpoz
      last edited by

      @johnpoz THANK YOU!!!

      It was the stupid ISP. They opened it up for me

      ~$ telnet 142.250.9.28 25
      Trying 142.250.9.28...
      Connected to 142.250.9.28.
      Escape character is '^]'.
      220 smtp-relay.gmail.com ESMTP c4sm237147plr.127 - gsmtp

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @pfsense1921
        last edited by

        @pfsense1921 haha - yeah even business connection prob block it unless specific ask for.

        If your going to try and send specific mail from this IP, you prob going to need them to make a setting for the PTR record of your IP.. Many MX will not accept mail unless the PTR matches the sending MTA name, etc..

        But if your just trying to relay mail through, and gmail will actually be sending the mail on to wherever than your prob ok.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pfsense1921 @johnpoz
          last edited by

          @johnpoz

          Thank You.

          I will get my ISP to make a setting for the PTR record of your IP if I can not do it.

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @pfsense1921
            last edited by

            @pfsense1921 said in Outbound Telnet not working:

            PTR record of your IP if I can not do it.

            I doubt your ISP delegated control of your IP or IP space to you - but yeah if they did you could change it.. Rare that an ISP would do that - but maybe they have a web interface setup to allow you to manipulate the PTRs for the IPs they gave you - that would be nice! I don't recall ever seeing an ISP doing that ;)

            You normally have to actually own the IPs to have access to do that.. When we have delegated some our public space to customers.. We normally maintain control, but there is one customer we did delegate the NS to them, and they run their own NS for their /22 we delegated to them..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pfsense1921 @johnpoz
              last edited by

              @johnpoz Thankyou. You are correct

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                pfsense1921 @pfsense1921
                last edited by

                @pfsense1921

                Almost complete.

                I can telnet to my public static ip 25 externally good

                But if I try to telnet to my public static IP 25 from behind pfsense it does not work. What setting am I missing?

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator @pfsense1921
                  last edited by

                  @pfsense1921 so 25 on your wan I take it forwards to something on your lan? Your mail server, for you to hit your wan IP and get direct to your lan side IP of this server you would need to setup NAT reflection.

                  But what is the point of that - in what scenario would something on your lan be trying to send mail to your wan IP? If you have something on your lan or lan side networks, why wouldn't they just talk to your servers lan IP or via its fqdn resolve to your local IP.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pfsense1921 @johnpoz
                    last edited by

                    @johnpoz
                    Issue is I could not send mail to myself or anyone else@mydomain.com

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ Offline
                      johnpoz LAYER 8 Global Moderator @pfsense1921
                      last edited by

                      @pfsense1921 no not really - but what clients would be doing that, wouldn't they just point to your local mailserver any way? They sure wouldn't be needing to resolve your MX record..

                      Outlook doesn't need to lookup your MX record, they point to their mail server - which should just resolve to the local IP on your local network.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        pfsense1921 @johnpoz
                        last edited by

                        @johnpoz

                        Yeah, doubt I would send myself email. I was told if I was behind firewall and I tried to send others email others@mydomain.com they would not get it. It is working now so all good.

                        Thanks so much for all your help.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.