So, I wasn't sure if this is known, but you can't currently use
iptables-restore to import the resultant .ipt file from the generator.
Can this be fixed? All that is required is to add two lines to the
output of the .ipt file.
After the ### comments, you merely need to include a line like this:
*filter
Then the definitions follow here...and then the following at the end
on the last line.
COMMIT
This will allow iptables-restore to work properly, unless I am missing
something entirely and this is already supported in capirca without
using "verbatim" :) Should look something like this at the end...
*filter
-A INPUT -s 1.2.3.4/32 -j ACCEPT
-A OUTPUT -s 7.8.9.10/32 -j ACCEPT
COMMIT
Works -- thank you...
--
Kristian Erik Hermansen