east:~# TESTNAME=mast-l2tp-03 east:~# source /testing/pluto/bin/eastlocal.sh east:~# sh /etc/init.d/inetd restart Restarting internet superserver: inetd. east:~# if [ -f /var/run/l2tpd.pid ]; then kill `cat /var/run/l2tpd.pid`; fi east:~# ipsec setup restart ipsec_setup: Stopping Libreswan IPsec... ipsec_setup: stop ordered, but IPsec does not appear to be running! ipsec_setup: doing cleanup anyway... ipsec_setup: Starting Libreswan IPsec VERSION east:~# ipsec auto --add client1--east-l2tp east:~# ipsec auto --add client2--east-l2tp east:~# /testing/pluto/bin/wait-until-pluto-started east:~# iptables -A INPUT -i eth1 -d 192.1.2.23 -p udp --dport 1701 -j REJECT east:~# iptables -A OUTPUT -o eth1 -s 192.1.2.23 -p udp --sport 1701 -j REJECT east:~# if [ ! -f /etc/ppp/chap-secrets ]; then mount --bind /testing/pluto/l2tp-01 /etc/ppp; fi east:~# (cd /tmp && l2tpd -c /testing/pluto/mast-l2tp-03/east.l2tpd.conf -D 2>/tmp/l2tpd.log ) & [1] 9999 east:~# echo done done east:~# east:~# east:~# grep 'Result using RFC 3947' /tmp/pluto.log "client1--east-l2tp"[1] 192.1.2.254 #1: NAT-Traversal: Result using RFC 3947 (NAT-Traversal): peer behind NAT "client1--east-l2tp"[1] 192.1.2.254 #3: NAT-Traversal: Result using RFC 3947 (NAT-Traversal): peer behind NAT east:~#