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

XG Inbound DNAT Rule Working Fine But XG Blocking Server Outbound

Hi all,

We're fairly new to Sophos XG but we have our firewall rules set up and working so far. However, I have created a DNAT rule for secure LDAP which is working well and I can see the traffic being forwarded to the internal server. However, the response from the server is not reaching the destination.

I know the XG is the problem because if I change the default gateway on the server to the old firewall it works fine. The DNAT rule is reflexsive so I would have thought the XG being a stateful firewall would allow the outbound traffic from the server but this is not the case.

Do I need to create a user / network rule for the server for the outbound traffic?

Thanks in advance.

Lee



This thread was automatically locked due to age.
Parents
  • Hi,

    the outbound traffic has nothing to do with the inbound traffic, so the stateful function would ignore post a failed connection.

    You will need to create a rule, probably network source any -> your server name (FQDN maybe) -> WAN -> any -> services you wish the server to connect to, you should be selective and not use 'any'.

    Ian

  • Hi,

    So I created a network rule as above but the server is still failing to respond outbound. The rule has been set up wth:

    source any > my server FQDN > destination > any > service (LDAPS port 636). The rule has been placed at the top of the list

    I tried changing the service to any but it's still not working. As soon as I change the gateway on the server to the old firewall it works. To provide a bit more detail, we are synchronising active directory with our anti spam service (mimecast). Inbound it's working fine and I can see mimecast coming in on port 636 but nothing outbound except UDP port 53 which I expect to see.

    Any other suggestions?

    Thanks

    Lee

  • HI,

    what do the XG and the server logs show?

    Ian

  • Hi,

    Apologies for the stupid question but what logs are you referring to? Are you talking about the XG Firewall logs and server event logs?

    For the XG Firewall logs I see the inbound traffic allowed from In Interface Port 2 to Out Interface Port 1. I don't see any traffic for the Outbound rule. 

    Thanks

    Lee

  • Hi,

    if you do a search of the XG logs for the IP address of your server you should see the dropped port and a reason for it being dropped.

    Have you setup a service definition for port 636  eg TCP 1-65535 to 636 or TCP *:636?

    Ian

Reply Children