You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.1 KiB
83 lines
1.1 KiB
[modules]
|
|
#log_syslog
|
|
log_file
|
|
pptp
|
|
sstp
|
|
auth_pap
|
|
auth_chap_md5
|
|
auth_mschap_v1
|
|
auth_mschap_v2
|
|
chap-secrets
|
|
ippool
|
|
ipv6_nd
|
|
ipv6_dhcp
|
|
ipv6pool
|
|
#iprange
|
|
pppd_compat
|
|
|
|
[common]
|
|
single-session=replace
|
|
|
|
[chap-secrets]
|
|
chap-secrets=/etc/ppp/chap-secrets
|
|
|
|
[ppp]
|
|
verbose=5
|
|
mtu=1550
|
|
mru=1550
|
|
accomp=allow
|
|
pcomp=allow
|
|
ipv4=prefer
|
|
ipv6=allow
|
|
lcp-echo-interval=30
|
|
lcp-echo-failure=3
|
|
lcp-echo-timeout=5
|
|
|
|
|
|
[client-ip-range]
|
|
0.0.0.0/0
|
|
::/0
|
|
|
|
[sstp]
|
|
port=443
|
|
verbose=5
|
|
#accept=proxy,ssl
|
|
accept=ssl
|
|
ssl-pemfile=/etc/cert.pem
|
|
ssl-keyfile=/etc/privkey.pem
|
|
ssl-ca-file=/etc/ca.pem
|
|
#host-name=sni_name
|
|
http-error=allow
|
|
#https://host.tld/path
|
|
ppp-max-mtu=1480
|
|
ip-pool=v4pool
|
|
ipv6-pool=v6pool
|
|
pv6-pool-delegate=v6pool-delegate
|
|
|
|
[dns]
|
|
dns1=8.8.8.8
|
|
|
|
[ip-pool]
|
|
gw-ip-address=192.168.95.1
|
|
tunnel=192.168.95.2-254,v4pool
|
|
192.168.95.0/24,v4pool
|
|
|
|
[ipv6-dns]
|
|
dns=2001:4860:4860::8888
|
|
|
|
[ipv6-pool]
|
|
gw-ip6-address=fc00:b10c:0::
|
|
fc00:b10c:0001::/48,64,name=v6pool
|
|
fc00:b10c:0002::/48,64,name=v6pool-delegate
|
|
|
|
[ipv6-nd]
|
|
verbose=1
|
|
|
|
[log]
|
|
#level=4
|
|
level=5
|
|
log-file=/dev/stdout
|
|
log-debug=/dev/stdout
|
|
log-emerg=/dev/stderr
|
|
log-fail-file=/dev/stderr
|
|
copy=1
|
|
|