# pptp-command drop in config file # everything after a # until \n is a comment # lines cannot be continued with a \ # the name of the tunnel server starts at the left margin # it is followed by white space, and then the ip address of the server # the following lines are indented and contain the routes to add # routes are specified using the route command syntax with a few # special variables that are substitued by pptp-command: # TUNNEL_DEV - the device name of the tunnel device (ex: ppp0) # DEF_GW - the ip address of the original default gateway # blank lines end tunnel configurations # # the dns section must be at the end of the file. see below for its description foo01 1.2.3.4 add -net 12.0.0.0/8 TUNNEL_DEV foo02 1.2.4.7 add -net 1.2.4.0/24 TUNNEL_DEV add -host 1.2.4.7 gw DEF_GW # this is the dns section. it must start with the word 'nameservers' on a line # by itself at the left margin. # # each line after 'nameservers' contains the name of a set of dns servers, # followed by search list, then their ip address(es), seperated by ':'. # Inside each : seperated field, multiple entries are seperated by spaces. nameservers bar:example.net example.com:1.2.3.5 1.2.3.6 baz:sub.example.com example.org:1.2.4.7 1.2.4.8