#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-pam]# iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-pam]# # Display the table, so we know it is correct. kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-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/ikev2-60-pam\[root@nic ikev2-60-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/ikev2-60-pam\[root@nic ikev2-60-pam]# echo initdone initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-pam]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-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/ikev2-60-pam\[root@nic ikev2-60-pam]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-pam]# ipsec auto --status whack: Pluto is not running (no "/run/pluto/pluto.ctl") kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam\[root@nic ikev2-60-pam 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<