# Connecting PPTP from container

**URL:** <https://discuss.circleci.com/t/connecting-pptp-from-container/3980>\
**Category:** Build Environment\
**Tags:** nodejs, docker\
**Created:** [May 13, 2016, 10:42am UTC](https://discuss.circleci.com/t/connecting-pptp-from-container/3980 "2016-05-13T10:42:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dziamid](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/dziamid/32/898_2.png) [@dziamid](https://discuss.circleci.com/u/dziamid)\
**Post date:** [May 13, 2016, 10:42am UTC](https://discuss.circleci.com/t/connecting-pptp-from-container/3980/1 "2016-05-13T10:42:35Z")

</div>

We need to establish PPTP VPN connection. After trying to `sudo pon vpn` I’m getting the following error:

> Couldn’t open the /dev/ppp device: No such file or directory  
> modprobe: ERROR: …/libkmod/libkmod.c:556 kmod\_search\_moddep() could not open moddep file ‘/lib/modules/3.13.0-86-generic/modules.dep.bin’  
> /usr/sbin/pppd: You need to create the /dev/ppp device node by  
> executing the following command as root:  
> mknod /dev/ppp c 108 0

> sudo pon [vpn.atrco.com](http://vpn.atrco.com) returned exit code 4

Running `sudo mknod /dev/ppp c 108 0` gives

> mknod: ‘/dev/ppp’: Operation not permitted

> sudo mknod /dev/ppp c 108 0 returned exit code 1

I believe that running the container in --privileged mode will help. Is there any chance to have this functionality? If not, maybe you have any other suggestions about how to establish VPN connection.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/connecting-pptp-from-container/3980/2 "2018-06-18T11:38:21Z")

</div>


