googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.21k stars 726 forks source link

Request: Ability to connect to vpn/local server #29

Closed ghost closed 5 years ago

ghost commented 6 years ago

Hi For my research I am using a simulator that runs on my machine on some port and I want to train neural network on google colab. Please add a way to make connection between colab and other vpns. I even created a vpn and tried to connect colab to vpn but it didn't work. I get the following error when I run !openvpn --config client.ovpn ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) Exiting due to fatal error

Edit: I tried this after looking at his page 1.mkdir -p /dev/net 2.mknod /dev/net/tun c 10 200 3.chmod 600 /dev/net/tun and then when I run !openvpn --config client.ovpn, I am getting the following error ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1) 2018 Exiting due to fatal error

MeTaNoV commented 6 years ago

Seems like local execution is now a thing, but it would be nice to have the same for remote execution without having to do port forwarding via ssh.

colaboratory-team commented 5 years ago

Local runtimes reference: http://research.google.com/colaboratory/local-runtimes.html

ratulray commented 5 years ago

Is there a way to run "import google.colab.XX" while being on local runtime?

tlkahn commented 3 years ago

Is OpenVPN now supported?

kalinin-sanja commented 2 years ago

Why is the issue closed? I want to power of Google's machines but my database is stored on different server. And I have to use VPN to connect. Using local runtime is not solution because my laptop is slow.