Changes

From Amahi Wiki
Jump to: navigation, search
4 bytes removed ,  08:26, 19 September 2013
<br>
1. At /etc/racoon/racoon.conf</br>Delete delete the 2 lines with split in mode_cfg : {{Code|split_network include 192.168.1.0/24, 10.8.1.0/24;split_dns "home.com";}}
split_network include 192.168.1.0/24, 10.8.1.0/24;
<br>split_dns "home.com";</br>
2. At your Hda run ifconfig to see what is your network interface.
<br>At /etc/racoon/amahi-up-down</br> I change the lines 19 and 26 from eth0 to em1 because this is the network interface of my Hda. The changes are<br>from:<br>{{Code| iptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADE</br>}}
to
<br>{{Code| iptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o em1 -j MASQUERADE</br>}}
and from:
<br>{{Code| iptables -t nat -D POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADE}}
<br>to
<br>{{Code| iptables -t nat -D POSTROUTING -s ${INTERNAL_ADDR4}/32 -o em1 -j MASQUERADE</br>}}
Finally I go to http://hda->Setup->Settings->Servers and restart the IPsec VPN Server.
5

edits