VPN in Chrome OS


 Steps for setting up Wireguard in Chrome OS

 

 Via Cross Terminal


Sample wireguard configuration:


[Interface]
PrivateKey = WGNfaKiwN2mhnxE8IzbdyVK5GEjbtUnTr4gsBRetRmA=
Address = 10.8.224.215/32

[Peer]
PublicKey = 65Ccqs2TzApWQTIz0H6/wym3NJZmX0d4UWwOSid8+lc=
AllowedIPs = 10.8.0.1/32, 10.1.1.0/24, 192.168.2.0/24, 10.75.254.16/30, 172.27.224.0/20
Endpoint = 122.186.79.202:51820
PersistentKeepalive = 5




wireguard new <vpn_name>
    
EXAMPLE : wireguard new testvpn









NOTE: Please remove spaces between allowed ip values


Check in the setting→Network→VPN→Choose your created VPN and connect it.



Via Using GUI


Go into settings and then Click on network and click on add connection.



Select  Add built in VPN..




Select "WIREGUARD" in Provider type by clicking on drop down button 



Fill all the credentials carefully including Client IP Address, Then select "I have a Key Pair" from key dropdown menu.

Enter Private Key and Public Key and also Endpoint.

Then Add Allowed IP's.


NOTE: Please remove spaces between allowed ip values


Now add Persistent keepalive interval "5"


           


            Click on Connect and your VPN is now connected.


             After the VPN is connected Check Sever name by following these steps


             Click on Network,click on VPN network which is connected, now click on name server, see weather it is                    google name servers or not if not click on Google name servers.