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

Sending all SMTP traffic intended to any public IP to a single private IP

I am setting up a virtual lab to test internally developed custom SMTP client. In order to simulate SMTP traffic without hitting the actual mail servers (e.g. google, aol, yahoo, etc…) I would like to achieve the following setup using SOPHOS UTM firewall: An SMTP client in the virtual lab will initiate SMTP communication to a public IP address (the IP address of the MX server, e.g. MX Server for google.com or aol.com). Instead of the communication actually going to the public IP address, I would like the traffic to go to the internal IP address of the SMTP server in the virtual lab which will simulate processing incoming requests. I was able to setup a rule, using the "Full NAT" option, to achieve this redirection per one public IP, but I would like to setup a "catch-all" redirection, where all SMTP communication to any public IP will be redirected to a single private IP.

How can it be done with SOPHOS UTM 9.3?


This thread was automatically locked due to age.
Parents
  • I was already able to create one rule per public IP using Full NAT, but I need to do it for thousands of public IPs.

    Is there a way to setup a "catch all" that any SMTP communication to any public IP will end up being sent to and processed by an SMTP server listening on a single private IP?

    Just to clarify both the SMTP client and the SMTP server are in the same virtual environment and if needed can also be setup on the same machine.
Reply
  • I was already able to create one rule per public IP using Full NAT, but I need to do it for thousands of public IPs.

    Is there a way to setup a "catch all" that any SMTP communication to any public IP will end up being sent to and processed by an SMTP server listening on a single private IP?

    Just to clarify both the SMTP client and the SMTP server are in the same virtual environment and if needed can also be setup on the same machine.
Children
No Data