Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Local Tag
« previous
next »
Print
Pages: [
1
]
Author
Topic: Local Tag (Read 647 times)
tverweij
Jr. Member
Posts: 69
Karma: 1
Local Tag
«
on:
October 05, 2023, 05:15:59 pm »
In the NAT rules, the Outbound Rules and in the Rules (advanced), there are 2 specific fields:
- Set Local Tag
- Match Local Tag
I searched the docs and found almost nothing about this.
The only thing I found is:
Set local tag - Set a tag that other NAT rules and filters can check for.
Match local tag - Check for a tag set by another rule.
I read the ebook, and it's not in it.
Can anyone give me a (real life?) example of how to use these fields?
«
Last Edit: October 05, 2023, 05:22:05 pm by tverweij
»
Logged
slackadelic
Full Member
Posts: 145
Karma: 9
Re: Local Tag
«
Reply #1 on:
October 05, 2023, 05:26:41 pm »
I have a rule that contains IPs, Aliases, etc. for internal machines that I do not want to have specific internet access when a VPN tunnel goes down.
I tag those as "BLOCKINET" and then in my WAN OUTBOUND Rules I have a match set for BLOCKINET and anything with that tag set and matches, I set it to 'block' so they cannot route out the WAN interface if the VPN tunnel goes down.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Local Tag