pptpd configuration
Posted
by Ian R.
on Server Fault
See other posts from Server Fault
or by Ian R.
Published on 2010-05-12T12:21:30Z
Indexed on
2010/05/12
12:25 UTC
Read the original article
Hit count: 361
pptp
|linux-networking
I would like a little help on configuring pptp so I can use my server as a vpn server since I have 10 ip's on it and I travel a lot so that would really help me and my partners. I managed to install everything needed but my vpn client fails to connect due to some reason that I cannot understand.
I know there are 2 files in pptp that you're supposed to edit so I will post my 2 files here:
/etc/ppp/pptpd-options
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
nodefaultroute
lock
nobsdcomp
/etc/pptpd.conf
option /etc/ppp/pptpd-options
logwtmp
localip xx.158.177.231
remoteip xx.158.177.103,xx.158.177.116,xx.158.177.121,xx.158.177.124,xx.158.177.125,xx.158.177.131,xx.158.177.134,xx.158.177.139,xx.158.177.142,xx.158.177.145
interfaces file
eth0 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.231 Bcast:xx.158.177.255 Mask:255.255.254.0
inet6 addr: xx80::216:3eff:fe51:31ba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56352 errors:0 dropped:0 overruns:0 frame:0
TX packets:3xx15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4884030 (4.8 MB) TX bytes:6780974 (6.7 MB)
Interrupt:16
eth0:1 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.103 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:2 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.116 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:3 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.121 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:4 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.124 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:5 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.125 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:6 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.131 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:7 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.134 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:8 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.139 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:9 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.142 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
eth0:10 Link encap:Ethernet HWaddr 00:16:3e:51:31:ba
inet addr:xx.158.177.145 Bcast:xx.158.177.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:286 (286.0 B) TX bytes:286 (286.0 B)
© Server Fault or respective owner