https://github.com/safing/portmaster
소스 코드 링크 입니다.

ubuntu fedora 외에도 타 배포판 설치법도 있네요
https://docs.safing.io/portmaster/install/linux