On Tue, 2011-09-20 at 14:11 -0700, Mohan Sfo wrote: > > > Hi all, > > > > > Could you show me how to setup a PPTP VPN via NetworkManager via > command line? What files need to be edited, what commands need to be > run?
At the moment, VPN connections can be configured manually by editing 'keyfile' connection files in /etc/NetworkManager/system-connections. A sample PPTP keyfile is as follows: [connection] id=Sample PPTP uuid=2b88c363-f97e-4e76-9ee6-8b9bb136e75b type=vpn autoconnect=false [vpn] service-type=org.freedesktop.NetworkManager.pptp gateway=1.1.1.1 user=dcbw password=myspace [ipv4] method=auto You can change various other options. One way to do that is to run nm-connection-editor on a machine with a GUI and set up the connection, then copy the connection file when you've got it set up right. Dan > > Also, does it allow any user who logged in to modify the network > configuration? Is there a way to restrict who can modify the network? > I was very susprised that a non-root user was able to change routing > parameters. > > > > > > Thanks, > Mohan > _______________________________________________ > networkmanager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
