D
D
Denis Sechin2018-06-27 15:38:59
linux
Denis Sechin, 2018-06-27 15:38:59

PPTPD ubuntu 14 not forwarding default route to clients?

Greetings! raised the pptpd server with standard settings, set up a test account. The client establishes a connection, but does not receive a default route through this ppp0 connection. Tried starting the server with the "defaultroute" option - nothing changes. I tried to run pptp on the client with the "replacedefaultroute" option with this parameter, the route is set as 0.0.0.0 0.0.0.0 i.e. there is no gateway. What am I doing wrong?
Server config:

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
defaultroute
novjccomp
defaultroute
logfile /var/log/pptpd.log
ms-dns XXX.XXX.XXX.XX

Client config:
pty "pptp XXX.XXX.XXX.XXX --nolaunchpppd --debug"
name test1
#login remotename pptpd #connection name
require-mppe-128
#file /etc/ppp/options.pptp
#require-mschap-v2
password test

Server routes
ppp0
_
_

Package version:
ii ppp 2.4.5-5ubuntu1 Point-to-Point Protocol (PPP) - daemon
ii pppconfig 2.3.18+nmu3ubuntu1 A text menu based utility for configuring ppp
ii pppoeconf 1.20ubuntu1 configures PPPoE/ADSL connections

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question