-
Notifications
You must be signed in to change notification settings - Fork 17
use case 3
Stefan Schneider edited this page Dec 11, 2019
·
24 revisions
Related artifacts:
- Hololens used for remote maintenance (via sth like Skype) at Weidmüller
- Connects via an access point to Weidmüller Kubernetes server
- On the server, a VPN client is running as a CNF/Docker container on k8s
- The VPN client connects to the VPN server, which is running on a VM at UPB
- From there, the Hololens can access the Internet
Useful links:
- https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-18-04
- https://medium.com/@tao_66792/how-does-the-kubernetes-networking-work-part-1-5e2da2696701
- https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/
Steps:
- Using VM fgcn-tango-vpn as server and CA machine
- Client in Kubernetes can be set up with script copied from here
- Because there is a need for a firewall to be in place access can only be granted with SSH.
- OpenVPN default port is 1194. This needs to be opened by the IMT.
- The server is already set up
One container for connecting VPN and one for receiving glasses data. Can then be connected via localhost inside the pod.???
- Build and run the Docker images:
# pull image
docker pull sonatanfv/vnf-proxyvpn:latest
# run in privileged mode to enable tunneling
docker run -d --rm -p 3128:3128 -p 1194:1194 --privileged --name vnf-proxyvpn sonatanfv/vnf-proxyvpn:latest
- Check the connection using
curl
with the Proxy:
curl --proxy ??? ifconfig.me
This should show the IP address of the VPN server, which is ???, not your local IP address.
- Test with Skype
TODO