Using synaptic package manager, install the network-manager-pptp package (which will install the needed dependencies). This package lives in the universe repository - enabled under software sources.
You need to restart the network manger now::
sudo /etc/init.d/networking restart
and
sudo /etc/dbus-1/event.d/25NetworkManager restart
(or just reboot)
Then clicking on the network icon in the upper right: (in this screen cap its the blue bar icon)
Use the following images as a guide, but only the indicatged settings are different from the defaults:
On the connection tab: you need to enter a name, and type is Windows VPN (PPTP), and then enter VPN server's gateway address.






you need to put in your credentials as: domain\username and then password .
Once you successfully connect, you should see a little key on the network manager icon:
To fix this you need to put a script in /etc/ppp/ip-up.d
So open a terminal, and type:
cd /etc/ppp/ip-up.d
We are going to make a script called routeadd, so I just type the following:
sudo pico routeadd
then paste the following in:
#!/bin/sh
route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
(Where the 192.168.1.0 being whatever the correct range for the remote network is)
NOTE - the #! line must be the first one in the file
then CTRL+O to write it, and CTRL+X to exit
The script must be made executable:
sudo chmod +x /etc/ppp/ip-up.d/routeadd
Now, under the network manager you should be able to connect, and browse your remote network.
1 comment:
ubuntu can be unstable on MACs
(VPN Server)
Post a Comment