Hi ,
I live in an extremely constraint country in which most of the internet is censored.
In order to be able to access un-censored internet I’ve made a VPN Connection in my hAP ac lite router , Using packet mangling(IP Firewall Mangle) I identify most packets and route them through the VPN Connection.
All of the data that runs through Ports 443 and 80 in my network are routed through the VPN, Except one of the computers.
That PC is used to play various online games and lots of The applications and the games use the ports 443 and 80 ( such as steam for example ) to either play the games or download them.
To get the best ping possible and as much bandwidth as needed to download the games in a sensible time window , its connection is completely direct to the censored internet that is provided to us and the data is not routing marked.
I’m looking for a way so that when this device ( that is using windows 10 ) uses chrome to surf the web I can identify the specific packets sent by chrome between the rest of the packets going through ports 443 and 80 so I can mark them and route them through the VPN.
I’ve made a lot of effort to identify the chrome packets using layer 7, Knowing Chrome’s user agent contains “Chrome” I’ve tried using that in regexp to identify said packets.
Unfortunately I’m pretty new to regular expressions and I haven’t found much success and I’ve been unable to find the exact phrase/expression to use in regexp.
I’ve also thought how it would be much better to be able to mark all the packets used by Google Chrome / mozilla firefox and route them through the VPN.
But I cannot route the packets used by steam or other software that is used to download games or the games themselves through said VPN connection.
If It’s possible for you to tell me what’s the exact expression that I have to use in Regexp or help me in some other way that can accomplish the same exact thing.
I’m very grateful for your time. Thanks in advance.