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 [2020-01-01-16-21]
7saturn [Network Card Metric]
en:games:radmin_vpn [2020-08-05-16-41] (current)
7saturn [I Cannot Find My Other PCs Locally]
Line 9: Line 9:
 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. 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 mayn 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.+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 ===== ===== 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: 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''.   - 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 "Radmin VPN"} | Set-NetIPInterface -InterfaceMetric 20''+  - 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 ''<nowiki>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -f "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.+  - 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).   - 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 ''powershell'' into the start menu and run it with administrator privileges(!).
Line 21: Line 21:
  
 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. 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.
 +===== I Cannot Find My Other PCs Locally =====
 +As Radmin resets the metric of its virtual network card to 1 automatically, you might run into the problem, that you cannot find computers on the local network any more. You can try and connect to them via their IP, possibly even with their host name, but in the list of found hosts, your local computers do not turn up on the >>Network<< list. This can be omitted by deactivating the Service, that automatically activates the virtual network interface of Radmin, the >>Radmin VPN Control Service<< or shorter >>RvControlSvc<<. If you set this service to be started manually, you can finally deactivate the virtual network interface. Both requires administration privileges. After restarting your computer, you should be able to see your surrounding computers once again. But be aware that you have to start the service manually from now on, as you just set it this way. So when using Radmin for online gaming, start the service, wait for the network card to come on and only after that you can expect Radmin to work properly.
  
-[[gamesdatenbank|Back to the games database]]+[[games database|Back to the games database]]
en/games/radmin_vpn.1577892076.txt.gz · Last modified: 2020-01-01-16-21 by 7saturn