Skip to content

Commit

Permalink
Elaborate check for IPv6 masquerade capability on commit
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Aug 30, 2017
1 parent 36f3669 commit 11bf110
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ 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"
syntax:expression: exec "sudo ip6tables -t nat -A POSTROUTING -o lo -j MASQUERADE &>/dev/null; sudo ip6tables -t nat -D POSTROUTING -o lo -j MASQUERADE &>/dev/null"; "IPv6 masquerade is not supported on this platform"
commit:expression: exec "sudo ip6tables -t nat -A POSTROUTING -o lo -j MASQUERADE &>/dev/null; sudo ip6tables -t nat -D POSTROUTING -o lo -j MASQUERADE &>/dev/null"; "IPv6 masquerade is not supported on this platform"

0 comments on commit 11bf110

Please sign in to comment.