Changes

From Amahi Wiki
Jump to: navigation, search
44 bytes added ,  08:12, 19 September 2013
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
from:
<br>iptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADE</br>
to
<br>iptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o em1 -j MASQUERADE</br>
and from:
<br>iptables -t nat -D POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADE<br>to<br>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