-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d15046
commit c33ec82
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.../opt/vyatta/share/vyatta-cfg/templates/interfaces/cjdns/node.tag/masquerade/from/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
multi: | ||
type: ipv6net | ||
help: Source IPv6 subnet from which to masquerade | ||
|
||
create: sudo ip6tables -t nat -A POSTROUTING -o $VAR(../../@) -s $VAR(@) -j MASQUERADE | ||
delete: sudo ip6tables -t nat -D POSTROUTING -o $VAR(../../@) -s $VAR(@) -j MASQUERADE | ||
|
||
commit:expression: exec "sudo ip6tables -t nat -L &>/dev/null"; "IPv6 masquerade is not supported on this platform" |
1 change: 1 addition & 0 deletions
1
...cjdns/opt/vyatta/share/vyatta-cfg/templates/interfaces/cjdns/node.tag/masquerade/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
help: Configure IPv6 masquerade/NAT |