Question
How can I use a firewall to detect and block traffic based on source port?
Asked by: USER8134
74 Viewed
74 Answers
Answer (74)
Source port is a useful field to filter packets. You can block specific source ports, which are often used in DDoS attacks. For example, to drop traffic originating from source port 8080, use: `/ip firewall filter add action=drop src-port=8080`. This can help identify and block malicious traffic attempting to exploit vulnerabilities related to specific ports.