freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | ;
|
|---|
| 2 | ; This is a minimal sample l2tpd configuration file for use
|
|---|
| 3 | ; with L2TP over IPsec.
|
|---|
| 4 | ;
|
|---|
| 5 | ; The idea is to provide an L2TP daemon to which remote Windows L2TP/IPsec
|
|---|
| 6 | ; clients connect. In this example, the internal (protected) network
|
|---|
| 7 | ; is 192.168.1.0/24. A special IP range within this network is reserved
|
|---|
| 8 | ; for the remote clients: 192.168.1.128/25
|
|---|
| 9 | ; (i.e. 192.168.1.128 ... 192.168.1.254)
|
|---|
| 10 | ;
|
|---|
| 11 | ; The listen-addr parameter can be used if you want to bind the L2TP daemon
|
|---|
| 12 | ; to a specific IP address instead of to all interfaces. For instance,
|
|---|
| 13 | ; you could bind it to the interface of the internal LAN (e.g. 192.168.1.98
|
|---|
| 14 | ; in the example below). Yet another IP address (local ip, e.g. 192.168.1.99)
|
|---|
| 15 | ; will be used by l2tpd as its address on pppX interfaces.
|
|---|
| 16 |
|
|---|
| 17 | [global]
|
|---|
| 18 | ; listen-addr = 192.168.1.98
|
|---|
| 19 |
|
|---|
| 20 | [lns default]
|
|---|
| 21 | ip range = 192.168.1.128-192.168.1.254
|
|---|
| 22 | local ip = 192.168.1.99
|
|---|
| 23 | require chap = yes
|
|---|
| 24 | refuse pap = yes
|
|---|
| 25 | require authentication = yes
|
|---|
| 26 | name = LinuxVPNserver
|
|---|
| 27 | ppp debug = yes
|
|---|
| 28 | pppoptfile = /etc/ppp/options.l2tpd
|
|---|
| 29 | length bit = yes
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.