User Tools

Site Tools


en:games:radmin_vpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:games:radmin_vpn [2019-03-08-23-04]
7saturn
en:games:radmin_vpn [2020-04-17-22-13] (current)
7saturn [Script for Setting the Network Card Metric automatically]
Line 1: Line 1:
 ====== Radmin VPN ====== ====== Radmin VPN ======
 +===== General Information =====
 Radmin VPN is a [[VPN]] service, which can also be used for free. The software is interesting because it makes it relatively easy to set up a VPN where you can play LAN games over the Internet. Users can be invited to separate groups, which can also be private (password protected). The biggest disadvantage,​ however, is that all hosts are located in a large subnet with mask 255.0.0.0. This means that 16,777,214 hosts can be reached via broadcast or single IP query. Thus, games that use this method to find matches in the same network are practically unusable, as the sheer number of hosts can hardly be scanned. On the other hand, games with direct IP input can be played very well with it. Radmin VPN is a [[VPN]] service, which can also be used for free. The software is interesting because it makes it relatively easy to set up a VPN where you can play LAN games over the Internet. Users can be invited to separate groups, which can also be private (password protected). The biggest disadvantage,​ however, is that all hosts are located in a large subnet with mask 255.0.0.0. This means that 16,777,214 hosts can be reached via broadcast or single IP query. Thus, games that use this method to find matches in the same network are practically unusable, as the sheer number of hosts can hardly be scanned. On the other hand, games with direct IP input can be played very well with it.
  
 The software is available [[http://​www.radmin-vpn.com/​|here]]. The software is available [[http://​www.radmin-vpn.com/​|here]].
 +===== Network Card Metric =====
 +On Windows, the so-called metric defines the priority, in which network cards are used. E. g., usually it is reasonable to place the LAN card first, and then Wifi, as the LAN cards usually have more bandwidth and a more stable connection.
  
-[[gamesdatenbank|Back to the games database]]+So if a game only uses the first network card, it uses the network card with the lowest metric value set for any network card's TCP/IP protocol configuration of your system. You may set this manually at any time. Radmin VPN also adds a new network card, which serves to direct traffic through the VPN. It is of course also part of this hierarchy. However, it sets this network cards metric to 1 after every system start, which usually makes it first network card, even before your local network. 
 + 
 +In many cases this can lead to problematic behavior, such as games all of a sudden not finding any servers hosted in the own LAN or local computers not being found for SMB access automatically any more. In order to omit this, it may help to reduce the metric to a lower priority/​higher value. As this will be reset after a reboot automatically to value 1, it usually is sufficient to set the value to something like 20, to get access to the local network again and restart the system, once this is not desired any more. 
 +===== Script for Setting the Network Card Metric automatically ===== 
 +You can create a script, that automatically sets the metric of Radmin'​s VPN adapter to 20. Follow these steps: 
 + 
 +  - Create a new powershell script with a name like ''​set_vpn_metric.ps1''​. 
 +  - Edit it and enter the following command into it: ''​Get-NetAdapter | Where-Object -FilterScript {$_.InterfaceAlias -Eq <​nowiki>"​Radmin VPN"</​nowiki>​} | Set-NetIPInterface -InterfaceMetric 20''​. 
 +  - Create a link to that script with the path ''​C:​\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -f <​nowiki>"​drive:​\path\to\set_vpn_metric.ps1"</​nowiki>'',​ with ''​drive:​\path\to\set_vpn_metric.ps1''​ being the actual full file path to the newly created script. Adapt it to your own file's location. 
 +  - Open properties of the newly created link and click on **Advanced** and select **Run as Administrator** (this is not available if you set the link to point directly to the script only). 
 +  - Enter ''​powershell''​ into the start menu and run it with administrator privileges(!). 
 +  - Enter ''​Set-ExecutionPolicy RemoteSigned''​. This will allow Windows to run Powershell scripts. **Note**: //This may be considered a security risk, as such scripts may be used to alter system settings (that'​s what our script from above actually does), especially when running scripts of questionable origin!// So when using this option, be careful with scripts downloaded from the internet! 
 + 
 +When you now open the newly created link, you are either asked for username and password of an existing administrator account (if you are working with a pure user account) or simply asked for confirmation to run that script (if you already use an account with administrator privileges). Once run, the metric for the "​Radmin VPN" adapter is set to 20. So games should not continue to use the VPN adapter to look for games in the locale network. The change is immidately, but some games may require a restart in order for the change to affect them. 
 + 
 +[[games database|Back to the games database]]
en/games/radmin_vpn.1552082670.txt.gz · Last modified: 2019-03-08-23-04 by 7saturn