debops / debops/debops

Ferm type DMZ source address filter

Open
#2,568 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
1.4k
Forks
379
Avg merge
4d 18h
Merged PRs (30d)
8

Description

I need to specify one or more source IP addresses in the FORWARD chain. By default the rule accept any sources.

I don't know if I'm doing wrong and good practice for that but I just copy/paste saddr rules from type access :

rules.conf.j2.patch.txt

Could you add thoses lines to rules.conf.j2 ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting rules.conf.j2 and the attached rules.conf.j2.patch.txt, then trace how the template defines the FORWARD chain and its source-address handling. Done means the DMZ source IP restrictions are represented in the generated FORWARD rules without changing the existing default behavior for unspecified sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
networking
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.