Skip to content

Enabling Multiple interfaces #535

Answered by DaanSelen
asankahh asked this question in Q&A
Nov 28, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

By default I suggest adding:

PostUp = iptables -t nat -I POSTROUTING 1 -s ${wg_network}/24 -o ${outgoing_adapter} -j MASQUERADE
PreDown = iptables -t nat -D POSTROUTING -s ${wg_neteork}/24 -o ${outgoing_adapter} -j MASQUERADE

Fill in the details for your situation. If you have questions specific on why or how, let me know.

Sorry for the short response, I am on mobile now.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@asankahh
Comment options

@DaanSelen
Comment options

Answer selected by asankahh
@asankahh
Comment options

@DaanSelen
Comment options

@asankahh
Comment options

@DaanSelen
Comment options

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