Changes

From Amahi Wiki
Jump to: navigation, search
876 bytes added ,  08:02, 19 September 2013
= Forwarding all traffic through the VPN =
add it hereSolution for IPSec VPN Server in Fedora 19 with Amahi 7 in order to Forward all traffic through the VPN 1. At /etc/racoon/racoon.confDelete the 2 lines with split in mode_cfg : split_network include 192.168.1.0/24, 10.8.1.0/24;split_dns "home.com"; 2. At your Hda run ifconfig to see what is your network interface. At /etc/racoon/amahi-up-down I change the lines 19 and 26 from eth0 to em1 because this is the network interface of my Hda. The changes arefrom:iptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADEtoiptables -t nat -A POSTROUTING -s ${INTERNAL_ADDR4}/32 -o em1 -j MASQUERADE and from:iptables -t nat -D POSTROUTING -s ${INTERNAL_ADDR4}/32 -o eth0 -j MASQUERADEtoiptables -t nat -D POSTROUTING -s ${INTERNAL_ADDR4}/32 -o em1 -j MASQUERADE Finally I go to http://hda->Setup->Settings->Servers and restart the IPsec VPN Server.
5

edits