#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# # Display the table, so we know it is correct. kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# iptables -t nat -L -n Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# iptables -L -n Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# echo initdone initdone kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# ../../pluto/bin/ipsec-look.sh kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# if [ -f /etc/pam.d/pluto.stock ]; then mv /etc/pam.d/pluto.stock /etc/pam.d/pluto ; fi kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam]# ipsec auto --status whack: Pluto is not running (no "/run/pluto/pluto.ctl") kroot@swantest:/home/build/libreswan/testing/pluto/xauth-pluto-20-pam\[root@nic xauth-pluto-20-pam 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<