sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 67 forks source link

Add "router fw" commands to minirouter to add iptables FORWARD rules #1456

Closed activeshadow closed 2 years ago

activeshadow commented 2 years ago

Both minimega and minirouter were updated to support configuring iptables in the minirouter instance using new "router fw" commands.

minirouter was updated to include support for "fw" commands for both global iptables rules and grouped rules using iptables chains.

minimega was updated to include support for "router fw" commands that generate the minirouter "fw" commands in the config script sent to the minirouter instance via miniccc.

Documentation for minimega's "router" command was also updated to include details and examples of how to use the new "fw" commands.

closes #1236

activeshadow commented 2 years ago

@aherna any luck getting to review my updates?