#!/bin/bash # Make sure iptables-restore simply ignores # rules starting with -6 set -e # show rules, drop uninteresting policy settings ipt_show() { $XT_MULTI iptables -S | grep -v '^-P' } # issue reproducer for iptables-restore $XT_MULTI iptables-restore <