Wireguard-Forward

You should have a functioning WireGuard VPN configuration file before using this script!

This script is meant only for allowing port forwarding.

What this script does:

  1. Checks if ipv4 forwarding is enabled and enable if it's not running.
  2. Allows forwarding and port access on UFW firewall
  3. Sets up iptables rules for forwarding on WireGuard config file.

To do:

  1. Work on UDP
  2. Work on ipv6
  3. Logs maybe