Installing personalVPN-IPsec on Ubuntu Linux
From Witopiawiki
personalVPN-IPSEC is possible on linux via the program called Shrew which you can install at anytime via the source packages from their website. The following directions are for installation using the Ubuntu Software Center available in ALL versions of Ubuntu.
Contents |
Setup
Installing The Software
- Open Software Center (standard Ubuntu click on Applications -> Bottom of Menu)
- Now search for shrew by typing that in the search in the upper right corner
- Click on Install
- You will need to enter your root password when asked
Setting Up the IPSEC Connection
- Open Shrew Soft VPN Manager
- Click on add in the new window
- Under the General tab enter the Host Name
- VERY IMPORTANT CLICK HERE FOR OPTIONS
- Click the dropdown for Authentication Method and choose Mutal PSK + XAuth
- Click on the credential (sub tab on the authentication tab)
- Enter the Pre Shared Key of witopia (all lowercase)
- Click the right arrow again to Phase 1 tab (click on tab)
- For DH Exchange set the dropdown to group 2
- Click Save
Connecting & Disconnecting
Connecting
- Open Shrew Soft VPN Manager
- Click on the name of the location you want to connect to.
- Click connect
- Enter your PPPT/IPSEC username and password when prompted
- You are now connected to your personalVPN-IPSEC
Disconnecting
- To disconnect the IPSEC-VPN just click on the Disconnect button
Troubleshooting
If you are able to connect, but you cannot actually pass any traffic, you need to modify your system to allow the IPSec traffic.
- Open Terminal
- Type "sudo nano /etc/sysctl.d/10-network-security.conf" (no quotes)
- Change =1 to =0 so it looks like this:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- Save and restart the computer









