Hi all. I see this is old topic but at this time I am building next quad and this time I would like to test PI0w and check how it will work with openVPN. I not thinking about latency ( I think this can my much worse than streming to public IP but I do not have secondary simcard with assigned public IP.
Nevermind hope is should work but I have some questions related openVPN client configuration on PI3 or PI0w ( eg. on Jessie ). What I did so far:
- I have choosen VPS : Aruba cloud. Servers are located in Germany, not so far from me and it`s realy cheap (1$ monthly with 2TB transfer )
- There is public IP for this cloud without any additional costs
- I have choosen Debian 8 64bit as server and next I installed OpenVPN server base on following movie:
- All those steps works well . Then I installed openVPN client for Android and using "Import Access Server Profile" username and password I finalized this setup.
- Now I have working connection from Android phone ( which I am using as CGS but I do not have it working on Raspberry PI.
I was trying yesterday to find any quick tutorial how to setup OpenVPN client but frankly I did not find it. Is there any official OpenVPN client for PI and is this possible to loging from PI using similar option to android ( import profile )? Any link tutorial how to setup it on PI would be helpful. Is there any king of VPN manager for PI to make this proces easy ?
One more I did install "network-manager-openvpn-gnome" and maybe someone know if this should work on PI3 and how to configure it having Open VPN server running/
Base of following movie:
I did generate client certificates and ovpn files. That all I did until now. I am trying to connect this Open VPN access server from RPI but still I do have problems. It`s look like network manager with openvpn plugin does not supports ovpn files ! . I dont know how to configure this RPI client and the connection setup looks like that:
Maybe someone know and can help me how to setup this clinet ? I`m trying to use user name and password with CA certificate but seems it does not work. I cannot find over net good manual how to connect from PI to this server.
hi, let me update this topic today, maybe it will help someone else in the future. After 3 next day of testing and changing configuration I have given up with "network-manager-openvpn-gnome" and focused of pure openvpn application for PI. I have installed on Debian 8 64 "Open VPN access server again" base on following movie.
You can forget about previous movies, this one is the oldest one but I think this is the best.
Current version of OpenVPN AC server is little different ( and you can skip free licences part becuse 2 are for free now build in server ) but you are able to sertup server and export certificates within 30 minutes long time.
I still testing it but both: Android CGS and RPI ( Jessie ) works with it well. In the case of android you need to download only ovpn file and connect via openvpn app and in the case of Raspberry you need to start vpn client by
typing e.g sudo openvpn client.ovpn line. before start check server paramerers to e.g. allow cleint to be visible inside subnetwork. If you are not root use sudo because without it it does not work well ( i lost 2 days to find it )
After correct setup you should find something like that under ifconfig command
tun0-00 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.27.XXX.X P-t-P:172.27.XXX.X Mask:255.255.240.0
inet6 addr: fe80::ff7f:xxx:dcc1:37ba/XX Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3948 errors:0 dropped:0 overruns:0 frame:0
TX packets:4106 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2169997 (2.0 MiB ) TX bytes:569745 (556.3 KiB )
Windows client configuration is aslo very easy becuse they have own app to connect VPN
I am still thinking about "network-manager-openvpn-gnome" and vpn option so if someone know how to setup it please let me know. It would be great to run it also on PI becuse it has nice user interface and it`s easy to setup.