jawj / IKEv2-setup

Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
1.35k stars 338 forks source link

limit internet access for vpn clients #113

Open xbipin opened 4 years ago

xbipin commented 4 years ago

i would like to create the iptables such that the server has full internet access but vpn clients get access to certain sites or lets say whatsapp calls only rather than full access to internet because the last thing i want is clients abusing the server and i mainly need it to unblock whatsapp calls and i know the port and server ip of whatsapp which i need allow through tunnel, in such a scenario how would i modify the firewall rules such that this can be achieved. Any pointers using some sample firewall rules would help