2
1
I'm creating a new VPN service, to enable players of the Crysis 1, Crysis Wars, and Crysis 2 games to continue playing after the online multiplayer is shut down at the end of this month.
The purpose of this VPN service is to provide a private LAN, where players can connect to the VPN and view the LAN server list to connect to servers (servers obviously have to be connected to the VPN also).
This is where the problem lies; I only want the VPN server to support this server network, and not allow people access to the internet. This is because if they download torrents, watch video, etc, it will make the VPN server slow. Obviously I can just block all access to the web, but unfortunately most players like to browse the internet, play music on YouTube, etc, while playing.
Is it possible on Windows to only allow the games and servers to use the VPN, while forcing users to bypass the VPN for other internet communication? Is there some Windows Firewall rule that can be applied to create this behaviour? I only want the gameservers and games to use the VPN server.
If this isn't possible, is it possible programmatically? C++ and Lua can only be used for this.
The VPN is on Linux.
I understand that the VPN is housed on Linux and Crysis on Windows. Therefore all VPN communication goes through the Linux server. You could set its firewall to allow on the IP segment of the VPN only outgoing connections to the Windows server, so no connection to the Internet is possible on the VPN. – harrymc – 2014-06-18T20:58:35.773
@harrymc Yes, but that's not what I want to do. Many players use services such as
TeamSpeak 3
andSkype
to communicate to other players. They also like to stream music from websites such asYouTube
andDeezer
; these services are high-bandwidth services, so they cannot be allowed via the VPN. However, if players cannot access these services at all, the new service will be less attractive. – AStopher – 2014-06-19T07:51:42.390You control the outgoing ports and so control which services are available via the VPN. Users wishing to use unavailable services will need to use the Internet directly rather than via your VPN. This is possible for them by manipulating their route tables. – harrymc – 2014-06-19T08:30:31.547