Skip to content

Iptables-extention #3512

Answered by stmcginnis
Dakuon asked this question in Q&A
Oct 9, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @Dakuon, thanks for asking. This does look a little tricky, but it depends on how iptables is used. I'm not familiar with rtpengine, but hopefully some of this makes sense and you can tell if any of it will work or not.

You can use a custom directory that contains iptables extensions by setting the XTABLES_LIBDIR environment variable. The trick here is that environment variable - and the directory it points to - needs to be present any time iptables is invoked. So if you need to do a one time policy setup or something like that, it could be possible to do this in a bootstrap container to set up the environment. Then whatever runs later already has the policies it needs.

If this is some…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Dakuon
Comment options

@stmcginnis
Comment options

Answer selected by Dakuon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants