Skip to content

Instantly share code, notes, and snippets.

@jonleopard
Last active October 16, 2018 23:24
Show Gist options
  • Save jonleopard/629289349464ad2c6a129e94ee7f1248 to your computer and use it in GitHub Desktop.
Save jonleopard/629289349464ad2c6a129e94ee7f1248 to your computer and use it in GitHub Desktop.
IPv6-USG.sh
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
configure
set interfaces ethernet eth0 vif 832 firewall in ipv6-name WANv6_IN
set interfaces ethernet eth0 vif 832 firewall local ipv6-name WANv6_LOCAL
set interfaces ethernet eth0 vif 832 firewall out ipv6-name WANv6_OUT
set interfaces ethernet eth0 vif 832 ipv6 address autoconf
set interfaces ethernet eth0 vif 832 ipv6 dup-addr-detect-transmits 1
commit
save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment