we configured Sophos XG in MTA mode. We need to restrict access to Port 25 for SMTP traffic to specific terminals only. Currently Port 25 is accessible from all LAN networks
This thread was automatically locked due to age.
Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.
we configured Sophos XG in MTA mode. We need to restrict access to Port 25 for SMTP traffic to specific terminals only. Currently Port 25 is accessible from all LAN networks
Make sure to creat a blocking rule for SMTP before any rule that may be allowing the same. Try putting the block rule on top and see if that changes things. Otherwise please show us how your block rule is configured.
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.
Do a Blackhole NAT rule. See: https://doc.sophos.com/nsg/sophos-firewall/19.5/Help/en-us/webhelp/onlinehelp/AdministratorHelp/RulesAndPolicies/FirewallRules/FirewallRulesBlackHoleDNATRuleCreate/index.html
Adapt it to your needs. If you want to restrict it from LAN, then check The Port of LAN instead.
__________________________________________________________________________________________________________________
but Its block All Traffic I just want to allow smtp Traffic on some allowed terminal and block other terminals.
Then you can make a rule to allow SMTP traffic for the specific clients that are allowed in the source addresses followed by a rule to block all SMTP traffic. Then only the allowed clients can use SMTP and all others are blocked. If it's internal clients you would like to block, you can also use reject instead of drop, so the client gets a message back that traffic is not allowed. From WAN drop is the better choice.
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.