Commit 0830f6a9 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#51] Ravada iptables chain is first to jump

parent 309c9768
......@@ -859,6 +859,7 @@ sub _obj_iptables {
($rv, $out_ar, $errs_ar) = $ipt_obj->chain_exists('filter', $IPTABLES_CHAIN);
if (!$rv) {
$ipt_obj->create_chain('filter', $IPTABLES_CHAIN);
$ipt_obj->add_jump_rule('filter','INPUT', 0, $IPTABLES_CHAIN);
# set the policy on the FORWARD table to DROP
$ipt_obj->set_chain_policy('filter', 'FORWARD', 'DROP');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment