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