Firewalls are crucial network security tools that aim to protect computers & networks from malicious attacks. They acts as a barrier between a private internal network and the public internet, controlling incoming and outgoing traffic based on predetermined security rules.
To test the firewall,
- You can try connecting to the server from different IP addresses.
- Then verify that the connections are allowed or blocked based on the defined rules.
This can be customized to meet the specific needs of your network
git clone https://github.com/yessur3808/basic-firewall
cd basic-firewall
go run main.go