/etc/ppp/ppp-gatekeeper.conf is in ppp-gatekeeper 0.1.0-201406111015-1.
This file is owned by root:root, with mode 0o640.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | #
# G L O B A L S E T T I N G S
#
[global]
# Local networks
# Comma or whitespace separated
localnets=10.0.0.0/24,192.168.0.0/16
#
# Default Route Load Balancing
#
# The default route policy to use when routing over multiple default routes.
# The format of this is PRIORITY:POLICY. Where priority would be the priority
# specified below in the use_default_route=X setting. Policy is one of the
# following values:
# rr = round robin
# random = random
# wrandon = weighted random
# atp = auto balance traffic throughput - TODO
#
# Multiple policies can be specified by separating them with a comma or
# whitespace. 7:random,9:rr,1:atp
default_route_policy=7:random
#
# C O N N E C T I O N S E T T I N G S
#
[connection1]
#
# PPPOE Settings
#
# Interface to pppoe over
interface=eth2
# PPP unit to use ppp<unit>
ppp_unit=100
# Username and password
username=myuser
password=mypass
#
# DNS
#
# Use this link as DNS if set
# The value is a priority, 1-99, higher is better
use_dns=9
#
# Explicit Routing
#
# Routing table
# Format:
# route [priority 1-99] [weight 1-99]
# Eg.
# 172.16.0.1/32
# 172.16.1.0/24 40 weight
#
# Priority defaults to 50 if not specified.
routing_table=/etc/ppp/local-routes
# Routing table exclusions
# Same format as above, weight is not supported.
routing_table_exclusions=/etc/ppp/local-routes-excl
#
# Default Routes
#
# Use this link as a default route if set. The value format is specified
# either as a priority, 1-99 (higher is better), or as a PRIORITY:WEIGHT.
# When a WEIGHT is specified this will determine how many times more traffic
# will be routed over the interface. Weight defaults to 10 if not specified.
use_default_route=7
#
# Scripts
#
# Run this before we think about starting pppd
# Paremeters passed:
# none
#init=/bin/true
# Run this when connection is up
# Parameters passed:
# $link_name $interface $remote_ip $local_ip $dns1 $dns2
#ifup=/bin/true
# Run this when connection goes down
# Parameters passed:
# $link_name $interface $remote_ip $local_ip $dns1 $dns2
#ifdown=/bin/true
# Run to bring the interface up, init argument to pppd
# Parameters passed:
# none
#ppp_init=/bin/true
# Run to connect the interface, connect argument to pppd
# Parameters passed:
# none
#ppp_connect=/bin/true
# Run to disconnect the interface, disconnect argument to pppd
# Parameters passed:
# none
#ppp_disconnect=/bin/true
#
# Traffic Shaping Options
#
# If a numeric value is specified, this will be interpreted as the max
# link speed in kbit/s. It will be used internally to set various values
# to optimize the shaping process
#
# use_shaping=4096
use_shaping=yes
|