ppp.conf.sample (84999) | ppp.conf.sample (85848) |
---|---|
1################################################################# 2# 3# PPP Sample Configuration File 4# 5# Originally written by Toshiharu OHNO 6# | 1################################################################# 2# 3# PPP Sample Configuration File 4# 5# Originally written by Toshiharu OHNO 6# |
7# $FreeBSD: head/share/examples/ppp/ppp.conf.sample 84999 2001-10-15 16:08:40Z brian $ | 7# $FreeBSD: head/share/examples/ppp/ppp.conf.sample 85848 2001-11-01 23:44:12Z cjc $ |
8# 9################################################################# 10 11# This file is separated into sections. Each section is named with 12# a label starting in column 0 and followed directly by a ``:''. The 13# section continues until the next label. Blank lines and characters 14# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\'' 15# or quoted with ""). All commands inside sections that do not begin --- 135 unchanged lines hidden (view full) --- 151 enable dns # Ask the peer what to put in resolv.conf 152 153 # Take a wild guess at an IP number and let the other side decide 154 set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 155 add! default hisaddr 156 157 set mru 1504 # Some extra room for the MP header 158 | 8# 9################################################################# 10 11# This file is separated into sections. Each section is named with 12# a label starting in column 0 and followed directly by a ``:''. The 13# section continues until the next label. Blank lines and characters 14# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\'' 15# or quoted with ""). All commands inside sections that do not begin --- 135 unchanged lines hidden (view full) --- 151 enable dns # Ask the peer what to put in resolv.conf 152 153 # Take a wild guess at an IP number and let the other side decide 154 set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 155 add! default hisaddr 156 157 set mru 1504 # Some extra room for the MP header 158 |
159 set server /tmp/ppp-TA "" 0177 # The diagnostic port (-rw-------) | 159 set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------) |
160 161 162# Example segments 163# 164# The following lines may be included as part of your configuration 165# section and aren't themselves complete. They're provided as examples 166# of how to achieve different things. 167 --- 9 unchanged lines hidden (view full) --- 177# (or quote) them: 178# 179 set phone "12345##678" 180# 181# Ppp can accept control instructions from the ``pppctl'' program. 182# First, you must set up your control socket. It's safest to use 183# a UNIX domain socket, and watch the permissions: 184# | 160 161 162# Example segments 163# 164# The following lines may be included as part of your configuration 165# section and aren't themselves complete. They're provided as examples 166# of how to achieve different things. 167 --- 9 unchanged lines hidden (view full) --- 177# (or quote) them: 178# 179 set phone "12345##678" 180# 181# Ppp can accept control instructions from the ``pppctl'' program. 182# First, you must set up your control socket. It's safest to use 183# a UNIX domain socket, and watch the permissions: 184# |
185 set server /var/tmp/internet MySecretPassword 0177 | 185 set server /var/run/ppp/internet MySecretPassword 0177 |
186# 187# Although a TCP port may be used if you want to allow control 188# connections from other machines: 189# 190 set server 6670 MySecretpassword 191# 192# If you don't like ppp's builtin chat, use an external one: 193# --- 367 unchanged lines hidden (view full) --- 561# 562loop: 563 set timeout 0 564 set log phase chat connect lcp ipcp command 565 set device localhost:ppploop 566 set dial 567 set login 568 set ifaddr 127.0.0.2 127.0.0.3 | 186# 187# Although a TCP port may be used if you want to allow control 188# connections from other machines: 189# 190 set server 6670 MySecretpassword 191# 192# If you don't like ppp's builtin chat, use an external one: 193# --- 367 unchanged lines hidden (view full) --- 561# 562loop: 563 set timeout 0 564 set log phase chat connect lcp ipcp command 565 set device localhost:ppploop 566 set dial 567 set login 568 set ifaddr 127.0.0.2 127.0.0.3 |
569 set server /var/tmp/loop "" 0177 | 569 set server /var/run/ppp/loop "" 0177 |
570 571loop-in: 572 set timeout 0 573 set log phase lcp ipcp command 574 allow mode direct 575 576# Example of a VPN. 577# If you're going to create a tunnel through a public network, your VPN --- 176 unchanged lines hidden --- | 570 571loop-in: 572 set timeout 0 573 set log phase lcp ipcp command 574 allow mode direct 575 576# Example of a VPN. 577# If you're going to create a tunnel through a public network, your VPN --- 176 unchanged lines hidden --- |