#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04]# iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04]# # Display the table, so we know it is correct. kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04]# 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/netkey-vti-04\[root@nic netkey-vti-04]# 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/netkey-vti-04\[root@nic netkey-vti-04]# echo done. done. kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04]# grep -v -P "\t0$" /proc/net/xfrm_stat kroot@swantest:/home/build/libreswan/testing/pluto/netkey-vti-04\[root@nic netkey-vti-04 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'grep -v -P "\t0$" /proc/net/xfrm_stat' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<