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