Openvpn server and clients with restrictions
-
Hi,
Me and some friends want to play some old pc games.
If I set up a openvpn-server and allow my friends to connect to it using a openvpn client, can I force them to use my pfsense as default gateway and block them from using my internet?
If its possible, how do i configure it in the firewall?
And how do I force them to use my pfsense as default gateway?fixededit: is it possible so they can access each other aswell?fixedBest regards.
ps. the reason i dont want them to use my internet is that i dont trust some of them i dont want them to download illegal material using my externa IP.
-
interfacerules on openvpn might be the answer
You'll need to interface openvpn server (via assign)
allow from openvpn subnet to openvpn subnet
allow from openvpn subnet to your lan subnet <– if you need to contact them also
deny from openvpn subnet to any -
Thx it worked :)
-
Glad that it helped