Changes

From Amahi Wiki
Jump to: navigation, search
1,756 bytes added ,  21:16, 9 June 2012
no edit summary
service racoon restart
 
= Route All IPSEC VPN traffic through IPSEC VPN =
 
After you install IPSEC VPN and configure your router and iPhone correctly, you may find that twitter and facebook are still blocked by some networks.Also google-ing "what is my ip" will report back that you are still on the local network.
 
It turns out that the Amahi VPN is set to use a split VPN tunnel by default. Here are the steps to direct all traffic through the VPN:
 
1 - Open a terminal on your hda or ssh in.
 
2 - go to /etc/racoon (that is spelled correctly BTW)
 
{{Code| cd /etc/racoon}}
3 - open racoon.conf with your favorite editor, mine happens to be nano (this needs to be done as route)
{{Code| sudo nano racoon.conf}}
4 - down arrow to the mode_cfg
{{Code| mode_cfg {
auth_source system;
save_passwd on;
network4 10.8.1.1;
netmask4 255.255.255.0;
pool_size 10;
dns4 192.168.1.10;
wins4 192.168.1.10;
default_domain "Jamahi3.com";
auth_throttle 60;
split_network include 198.162.1.0/24 10.100.100.0/24;
split_dns "home.com";
banner "/etc/racoon/welcome.txt";
}
}}
note: I'm going to concentrate on the two lines that I changed: "split_network" and "split_dns".
 
5 - change split_network from "include" to "local_lan" and delete the 198.162.... range.
 
{{Code| mode_cfg {
~~
split_network local_lan 10.100.100.0/24;
}}
6 - I also changed split_dns to the name that I changed my home domain to...
{{Code| mode_cfg {
~~
split_dns "Jamahi3.com";
}}
7 - save your work
 
8 - open up your hda, click on settings>servers and restart the IPSEC server.
 
Googling "What is My IP" should now report your home VPN. You should then be able to use twitter and facebook through your VPN.
16

edits