This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP Connection LOCAL/outside

UTM Ver. 9.412-2

 

Been playing around with SMTP Proxy and pop3 proxy
SMTP proxy works outside my localnetwork OK

Telnet mynoip.domain.com 587
or with mail client works

But when i try this this on a local machine it get.

telnet mynoip.domain.com587
Trying XX.XX.XX.XX...
telnet: connect to address XX.XX.XX.XX: Connection refused
telnet: Unable to connect to remote host

in mail client i've hve to enter the sophos IP, and can not use my domain name

 

Is this how it works, or am i missing something



This thread was automatically locked due to age.
  • Does it work with your external or your internal IP? I would guess last one matches.

    You can not connect to an external FQDN, that resolves to your own public IP. In those cases you need a split brain DNS entry in your local DNS zone. That entry resolves the FQDN to a local IP and everything is fine.

    Gruß / Regards,

    Kevin
    Sophos CE/CA (XG+UTM), Gold Partner

  • Kevin is quite right here. When your client is internal, if you do a dns lookup, you will find it resolves to the external ip address.

    What you need to do is add a zone into you dns server that is the same as the external domain and then add the UTM as an A record.

    That way, when the clients are internal, they will resolve to the internal ip of the UTM and when they are external, they will resolve to the external ip.

  • Here's the KB article you want, VenimK: Accessing Internal or DMZ Webserver from Internal Network

    Of the two methods discussed in that article, I also prefer the approach recommended by Louis and Kevin.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • When trying to connect remote i get ..

     

    telnet XXXXXXXX.XXXXXXmydomain.ddns.net 110

    Trying XX.XX.XX.XX...

    Connected to XXXXXXXX.XXXXXXmydomain.ddns.net.

    Escape character is '^]'.

    +OK POP3Proxy ready

    user XXXXX

    +OK

    pass XXXXXX

    -ERR Proxy: Can't connect to server

    I guess i have forwarded 110 to another port, but can 't connect at all then ...
    Are there any screenshots available, guess it would be easier then..

     

    The SMTP proxy works great local and remote.

     

    Greetings