Step 3 - Server Interface Configuration
Server Interface Configuration
In the WireGuard Interface section:
- Server Interface Addresses: Enter a private IP with a subnet (e.g.,
10.0.0.1/24). This will be the VPN server’s internal IP. - Listen Port: Set to
443to avoid port blocks on restrictive networks.
Post Up Script:
iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens192 -j MASQUERADE
Post Down Script:
iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens192 -j MASQUERADE
These scripts handle firewall rules and routing.
