Commit 496bddf4 authored by Cool Fire's avatar Cool Fire

Allow source ip based forwards for IPv6

parent d6afadfa
Pipeline #2242 passed with stages
in 4 minutes and 42 seconds
......@@ -107,8 +107,8 @@ class profile::router (
true => $forward['protocol'],
default => 'tcp'
},
source => has_key($forward, 'source') ? {
true => $forward['source'],
source => has_key($forward, 'source6') ? {
true => $forward['source6'],
default => '::/0'
},
dport => has_key($forward, 'port') ? {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment