Guest User!

You are not Sophos Staff.

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

Allow external ip

I cannot allow traffic from an external ip and a specific port to my local server. I tried differents things but it doesn't work.




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

    As mentioned by Rfcat please be more specific on your setup.

    However, by the screenshots, you shared, under Destination host/Network I see a Private IP, usually, you would select the Port2 WAN to interface IP that has your public IP, if Port1 is your WAN interface, then make sure you’re allowing the traffic on that specific port, otherwise, the XG will never see the traffic.

    Also please share a screenshot of the API_CSE service you created.

    Regards,

  • In fact i would like to redirect the traffic on my ip public (82.65.68.118:3001) to my internal server. On the second time i have to accept the connexion from the external ip 82.64.194.247 to my internal server without vpn on the port 3001.

  • Hello Nicolas,

    Since you’re using version 17, you just create a Business Application rule.

    Is the Public IP assigned to the XG or the XG is seeing a Private IP on the WAN interface?

    So your Firewall rule should look like this

    Source Zones = WAN

    Destination host/Network = The WAN port

    Services = Original service or customer service (in  your case your custom port is set correctly)

    Forward to

    Protected server = This would be your server or computer you want to connect to

    Protected Zone = The zone on the XG where your server/computer is located

    Mapped Port = Usually the same set set in Services, but if your server is listening in a different Port then you will change it here.

    NOTE: This is an example with RDP, it  isn’t recommended to configure RDP on WAN

    Regards,

Reply
  • Hello Nicolas,

    Since you’re using version 17, you just create a Business Application rule.

    Is the Public IP assigned to the XG or the XG is seeing a Private IP on the WAN interface?

    So your Firewall rule should look like this

    Source Zones = WAN

    Destination host/Network = The WAN port

    Services = Original service or customer service (in  your case your custom port is set correctly)

    Forward to

    Protected server = This would be your server or computer you want to connect to

    Protected Zone = The zone on the XG where your server/computer is located

    Mapped Port = Usually the same set set in Services, but if your server is listening in a different Port then you will change it here.

    NOTE: This is an example with RDP, it  isn’t recommended to configure RDP on WAN

    Regards,

Children