Skip to content

Commit

Permalink
Early IPv6 masquerade support
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Aug 30, 2017
1 parent 7d15046 commit c33ec82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
help: Configure IPv6 masquerade/NAT

0 comments on commit c33ec82

Please sign in to comment.