VPN connection from Build machine


#1

Hi,

I’m having issues setting up a vpn connection from the build machine. Is that possible at all?
I installed all the required packages but seems I cannot use the TUN device. it says it’s not found and gives an error when I’m trying to create it…

ubuntu@box703:~$ sudo mknod /dev/net/tun c 10 200
mknod: `/dev/net/tun’: Operation not permitted

Can anyone assist please?


Running selenium tests using CircleCI against a stage that's behind a VPN
#2

Hi DoryZI

You can’t create a tun/tap driver on lxc, Circleci made a blog post [1] explaining this. Nevertheless I create a proxy socks [2] to redirect all traffic to my internal network and solved this vpn problem.

[1] https://circleci.com/blog/vpns-and-why-they-don-t-work/
[2] https://gist.github.com/gianrubio/dce37ee9b9c024937832d776597e2603


OpenVPN via Docker builds
#3

I made my VPN connection work by using the machine: true directive and then launching my docker instance with the options necessary to start VPN in my docker instance. See more: https://stackoverflow.com/questions/46245838/how-do-i-connect-to-vpn-from-a-build-running-on-circleci


#4