Нет описания

001-fix_config.patch 837B

123456789101112131415161718
  1. --- a/server/fwknopd.conf.inst
  2. +++ b/server/fwknopd.conf.inst
  3. @@ -284,8 +284,13 @@
  4. # The IPT_FORWARD_ACCESS variable is only used if ENABLE_IPT_FORWARDING is
  5. # enabled.
  6. #
  7. -#IPT_FORWARD_ACCESS ACCEPT, filter, FORWARD, 1, FWKNOP_FORWARD, 1;
  8. -#IPT_DNAT_ACCESS DNAT, nat, PREROUTING, 1, FWKNOP_PREROUTING, 1;
  9. +
  10. +# These two lines are changed specifically for Openwrt, due to
  11. +# different naming conventions. IPT_FORWARD is still disabled
  12. +# by default, and must be enabled earlier in this file to be used.
  13. +
  14. +IPT_FORWARD_ACCESS ACCEPT, filter, zone_wan_forward, 1, FWKNOP_FORWARD, 1;
  15. +IPT_DNAT_ACCESS DNAT, nat, zone_wan_prerouting, 1, FWKNOP_PREROUTING, 1;
  16. # The IPT_SNAT_ACCESS variable is not used unless both ENABLE_IPT_SNAT and
  17. # ENABLE_IPT_FORWARDING are enabled. Also, the external static IP must be