root@kosi:/usr/src/pptp/pptp-linux-1.0.3-1# ./pptp-command
1.) start
2.) stop
3.) setup
4.) quit
What task would you like to do?: 3
ls: /etc/pptp.d: No such file or directory
1.) List CHAP secrets
2.) Add a New CHAP secret
3.) Delete a CHAP secret
4.) List PPTP Tunnels
5.) Add a NEW PPTP Tunnel
6.) Delete a PPTP Tunnel
7.) Configure resolv.conf
8.) Select a default tunnel
9.) Quit
?: 2
Add a NEW CHAP secret.
NOTE: Any backslashes ( \ ) must be doubled (\\ ).
Local Name:
This is the 'local' identifier for CHAP authentication.
NOTE: If the server is a Windows NT machine, the local name
should be your Windows NT username including domain.
For example:
domain\\username
Local Name: USERA MI

'>
Remote Name:OSTAVQM PRAZNO

'>
This is the 'remote' identifier for CHAP authentication.
In most cases, this can be left as the default. If must be
set if you have multiple CHAP secrets with the same local name
and different passwords. Just press ENTER to keep the default.
Remote Name [PPTP]:USERA MI

'>
Password:PASA MI

'>
This is the password or CHAP secret for the account specified. The
password will not be echoed.
Password:PASA MI
Adding secret USERA MI NISHTO NE SLAGAM TUK *****
1.) List CHAP secrets
2.) Add a New CHAP secret
3.) Delete a CHAP secret
4.) List PPTP Tunnels
5.) Add a NEW PPTP Tunnel
6.) Delete a PPTP Tunnel
7.) Configure resolv.conf
8.) Select a default tunnel
9.) Quit
?: 5
Add a NEW PPTP Tunnel.
1.) Other
Which configuration would you like to use?: 1
Tunnel Name: Kokinet

'>
Server IP: 10.10.10.11

'>
What route(s) would you like to add when the tunnel comes up?
This is usually a route to your internal network behind the PPTP server.
You can use TUNNEL_DEV and DEF_GW as in /etc/pptp.d/ config file
TUNNEL_DEV is replaced by the device of the tunnel interface.
DEF_GW is replaced by the existing default gateway.
The syntax to use is the same as the route(

command.
Enter a blank line to stop.
route:

'> - KAKVO SE SLAGA TUK

'>
route:
Local Name and Remote Name should match a configured CHAP secret.
Local Name is probably your NT domain\username.
NOTE: Any backslashes ( \ ) must be doubled (\\ ).
Local Name:

'> A TUK I
Remote Name [PPTP]: TUK

'>