mirror of https://github.com/vimagick/dockerfiles
update pptpd
This commit is contained in:
parent
a98085433e
commit
3b49239fe8
|
@ -12,9 +12,10 @@ The Point-to-Point Tunneling Protocol is a method for implementing virtual priva
|
||||||
```
|
```
|
||||||
~/fig/pptpd/
|
~/fig/pptpd/
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
├── pptpd.conf
|
└── data/
|
||||||
├── pptpd-options
|
├── pptpd.conf
|
||||||
└── chap-secrets
|
├── pptpd-options
|
||||||
|
└── chap-secrets
|
||||||
```
|
```
|
||||||
|
|
||||||
file: docker-compose.yml
|
file: docker-compose.yml
|
||||||
|
@ -23,9 +24,9 @@ file: docker-compose.yml
|
||||||
pptpd:
|
pptpd:
|
||||||
image: vimagick/pptpd
|
image: vimagick/pptpd
|
||||||
volumes:
|
volumes:
|
||||||
- ./pptpd.conf:/etc/pptpd.conf
|
- ./data/pptpd.conf:/etc/pptpd.conf
|
||||||
- ./pptpd-options:/etc/ppp/pptpd-options
|
- ./data/pptpd-options:/etc/ppp/pptpd-options
|
||||||
- ./chap-secrets:/etc/ppp/chap-secrets
|
- ./data/chap-secrets:/etc/ppp/chap-secrets
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
@ -64,7 +65,6 @@ file: chap-secrets
|
||||||
```
|
```
|
||||||
# Secrets for authentication using CHAP
|
# Secrets for authentication using CHAP
|
||||||
# client server secret IP addresses
|
# client server secret IP addresses
|
||||||
|
|
||||||
username * password *
|
username * password *
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ username * password *
|
||||||
## Server Setup
|
## Server Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# edit /etc/default/ufw (for ubuntu)
|
||||||
$ modprobe nf_conntrack_pptp nf_nat_pptp
|
$ modprobe nf_conntrack_pptp nf_nat_pptp
|
||||||
$ cd ~/fig/pptpd/
|
$ cd ~/fig/pptpd/
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
|
Loading…
Reference in New Issue