Install golang-github-coreos-go-iptables-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-coreos-go-iptables-dev
Description:
Go bindings for iptables utility
The go-iptables module wraps the invocation of the iptables utility with Go functions to append and delete iptables rules, as well as create, clear and delete iptables chains.
Homepage: https://github.com/coreos/go-iptables
Version: 0.1.0-2
Section: universe/devel