Code Monkey home page Code Monkey logo

Comments (9)

vimagick avatar vimagick commented on May 26, 2024

Please post your docker-compose.yml.
Make sure all config files are available.

Then run these commands to view debug message:

$ docker-compose run --rm pptpd sh
>>> pptpd --debug --fg
^C
>>> exit

from dockerfiles.

newrey avatar newrey commented on May 26, 2024

I download this directory on Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-34-generic x86_64)

excute

git clone https://github.com/vimagick/dockerfiles.git
cd dockerfiles/pptpd/
modprobe nf_conntrack_pptp nf_nat_pptp
docker-compose up -d

config files and docker-compose.yml is default
https://github.com/vimagick/dockerfiles/blob/master/pptpd/docker-compose.yml

there seems no debug message avaliable

~/pptpd# docker-compose run --rm pptpd sh
/ # pptpd --debug --fg
/ #
/ # exit

from dockerfiles.

vimagick avatar vimagick commented on May 26, 2024

I just tested on my VPS (Debian jessie + Docker 1.12.1):

$ cd ~/fig/pptpd/
$ tree
├── chap-secrets
├── docker-compose.yml
├── pptpd.conf
└── pptpd-options
$ docker-compose up -d
$ docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1  | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1  | + pptpd
pptpd_1  | + syslogd -n -O /dev/stdout
pptpd_1  | Aug 23 02:23:03 4f9a7d5d39f5 syslog.info syslogd started: BusyBox v1.24.2
pptpd_1  | Aug 23 02:23:03 4f9a7d5d39f5 daemon.info pptpd[9]: MGR: Manager process started
pptpd_1  | Aug 23 02:23:03 4f9a7d5d39f5 daemon.info pptpd[9]: MGR: Maximum of 100 connections available

The log is sent to syslog, so we cannot see it on screen.

from dockerfiles.

newrey avatar newrey commented on May 26, 2024

maybe version effect?
My
Docker version 1.12.1, build 23cf638
docker-compose version 1.8.0, build f3628c7

from dockerfiles.

newrey avatar newrey commented on May 26, 2024

docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
^CERROR: Aborting.

from dockerfiles.

vimagick avatar vimagick commented on May 26, 2024

It tested on other VPS (Ubuntu 14.04.1 + Docker 1.12.0).

$ docker-compose up -d
$ docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1  | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1  | + pptpd
pptpd_1  | + syslogd -n -O /dev/stdout
pptpd_1  | Aug 23 02:35:45 ae4bd7dfc289 syslog.info syslogd started: BusyBox v1.24.2

from dockerfiles.

newrey avatar newrey commented on May 26, 2024

ok ,I will try 14.04

from dockerfiles.

newrey avatar newrey commented on May 26, 2024

same issue.but i find another docker container works.

from dockerfiles.

vimagick avatar vimagick commented on May 26, 2024

Please reopen the issue if you have any question.

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.