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

Port Forwarding to another UTM connected via RED

Hi,

 

I'm using the UTM for many years now, but now I have a problem I got stuck..

 

The Environment:

Site A (a rented Server):

Small Server, virtual UTM (UTM A), many public IPs, fast Internetconnection

 

Site B:

big hardware UTM (UTM B), dyn. IP, not so fast Internetconnection (100/40), all other Servers are located here

 

I have a good working UTM to UTM Red Tunnel between Site A&B and until now I'm using this szenario:

- MX Records points to site A

- the Emailprotection of UTM A processes the Mail

- the Email gets forwarded over the Red Tunnel directly to the Mailserver at Site B

 

This worked for years now, but i wan't to make the "remote" UTM A dumber, so everything important is at site B

 

So what i want:

- MX Records points to site A

- the SMTP Port is forwarded to UTM B

- UTM B makes the Processing of the Email and delivers it to the Exchange

 

I tried it this was:

- on UTM A I created a DNAT:

    Source: Any

    Service: SMTP

    Destination: the Interface with the Public IP the MX record points to

    Change Destination: the Red Tunnel IP of UTM B

    Change Service: SMTP

    automatic Firewall Rules

- on UTM A I created a masquerading for the Red Tunnel network

- on UTM B i allowed the RED IP of UTM A as Upstream Host in the Email Protection (but the allow only is not selected)

 

I tried to test this construct via telnet on Port 25 but I can't connect to any SMTP Server (Timeout).

I checked the Firewall Logs on both UTMs but there are no entrys for this problem.

 

Has anyone an idea where the mistake could be...

 

Greets Daniel



This thread was automatically locked due to age.
Parents
  • You're not waiting for this answer probably, but why not just change MX record to point to B? If the desired scenario you describe a failure of internet connection in point A will completely disable email while all email is handled by B.

    I'm not sure whether it's possible to DNAT to a site behind RED tunnel. You might need change to IPSEC between the two UTMs.


    Managing several Sophos firewalls both at work and at some home locations, dedicated to continuously improve IT-security and feeling well helping others with their IT-security challenges.

  • Hi,

     

    thanks for your answer. Site B has a Dynamic IP and theres no option to change this (3 times more expensive...). In theory it's possible to use a Mailserver behind dyndns but in the past I had a lot problems with foreign Mailserver caching the old ip too long.

    Site A has a complete /29 subnet and some additional IPs. So it would be nice to use them forwarded to site B. In addition to this site A has redundant Internetconnections. It's just the server i rented there is to small for my exchange server and i don't want to spend more money...

    When this scenario is possible i wanted to use more services via this way. But if it's not possible, i will make the UTM at site A more intellegent, doing the Mail processing, Webprotection etc.

    I tried ipsec before, but the RED tunnel worked better for me. I had a lot connectivityproblems, especialy after the nightly IP-change at site B. Since i changed to RED tunnels there were no more problems.

     

    Greets

    Daniel

Reply
  • Hi,

     

    thanks for your answer. Site B has a Dynamic IP and theres no option to change this (3 times more expensive...). In theory it's possible to use a Mailserver behind dyndns but in the past I had a lot problems with foreign Mailserver caching the old ip too long.

    Site A has a complete /29 subnet and some additional IPs. So it would be nice to use them forwarded to site B. In addition to this site A has redundant Internetconnections. It's just the server i rented there is to small for my exchange server and i don't want to spend more money...

    When this scenario is possible i wanted to use more services via this way. But if it's not possible, i will make the UTM at site A more intellegent, doing the Mail processing, Webprotection etc.

    I tried ipsec before, but the RED tunnel worked better for me. I had a lot connectivityproblems, especialy after the nightly IP-change at site B. Since i changed to RED tunnels there were no more problems.

     

    Greets

    Daniel

Children
No Data