- Download and install OpenVPN
- Save config file (ovpn) in C:\Program Files\OpenVPN\config folder.
- Create a txt file with the file name auth.txt. The first line being the user name and the second line being the password for your OpenVPN server.
- Save auth.txt folder in the C:\Program Files\OpenVPN\config folder.
- Edit the config/ovpn file and add the following line: auth-user-pass auth.txt
- Go to setting of OpenVPN and uncheck start on windows startup.
- Open Task Scheduler and create a Basic Task
- Start on user log on.
- The program will be: "C:\Program Files\OpenVPN\bin\openvpn-gui.exe"
- Add arguments: --connect "ENTER CONFIG FILE NAME HERE"
- Start task after network connection is established.
Friday, August 25, 2017
Saturday, August 5, 2017
How to test network performance with FreeNAS server and Windows.
- Disable windows firewall. This is necessary if you want to test both send and recieve speeds using the -r switch.
- Launch shell in FreeNAS.
- Determine the version of iPerf the is installed. Type: iperf -v
- Download and extract respective iPerf version in root folder (c:\iperf) of Windows machine you will be testing with FreeNAS. Download link: https://iperf.fr/iperf-download.php
- Launch command prompt as administrator and navigate to iPerf folder (c:\iperf).
- In FreeNAS server shell stat iPerf server by typing: iperf -s
- On windows machine (iPerf client) in command prompt, navigate to iPerf folder type: iperf.exe -c FreeNASIP -P 10 -t 15 -r
- iPerf will run 10 simultaneous processes for 15 seconds and display results.
- When finished testing, on FreeNAS server type: killall iperf . You may need to enter this command two times. This is required as your CPU usage will likely be very high until you kill iPerf.