Lets first use curl
and save the file in /etc/firewall
curl https://raw.githubusercontent.com/complexorganizations/server-firewall/master/server-firewall.sh --create-dirs -o /etc/firewall/server-firewall.sh
Then let's make the script user executable (Optional)
chmod +x /etc/firewall/server-firewall.sh
It's finally time to execute the script
bash /etc/firewall/server-firewall.sh
- robust and modern security by default
- minimal config and critical management
- fast, both low-latency and high-bandwidth
- simple internals and small protocol surface area
- simple CLI and seamless integration with system networking
- Installs and configures a ready-to-use WireGuard Interface
- (IPv4|IPv6) Supported, (IPv4|IPv6) Leak Protection
- Iptables rules and forwarding managed in a seamless way
- If needed, the script can cleanly remove WireGuard, including configuration and iptables rules
- Variety of DNS resolvers to be pushed to the clients
- The choice to use a self-hosted resolver with Unbound.
- Preshared-key for an extra layer of security.
- Block DNS leaks
- Dynamic DNS supported
- Many other little things!
- Name: Prajwal Koirala
- Website: https://www.prajwalkoirala.com
- Github: @prajwal-koirala
- LinkedIn: @prajwal-koirala
- Twitter: @Prajwal_K23
- Reddit: @prajwalkoirala23
- Twitch: @prajwalkoirala23
Using a browser based development environment:
git clone https://github.com/complexorganizations/server-firewall /etc/firewall/
Copyright © 2020 Prajwal
This project is MIT licensed.