1. ON THE SLAVE:
  2.  
  3. cd /usr/local/solusvm/data/hooks
  4. cp ebtables-iploop6.sh.example ebtables-iploop6.sh
  5.  
  6. EDIT ebtables-iploop6.sh SO IT LOOKS LIKE THIS:
  7.  
  8. ##############################################
  9.  
  10. #!/bin/sh
  11. VIF=$1
  12. IP=$2
  13.  
  14. ebtables -A $VIF -p IPv6 --ip6-source $IP -j ACCEPT
  15. ebtables -A $VIF -p IPv6 --ip6-destination $IP -j ACCEPT
  16.  
  17. ##############################################
  18.  
  19. ONCE EDITED:
  20.  
  21. chmod 755 ebtables-iploop6.sh
  22. /etc/init.d/solusvm-ipsecure restart
  23.  
  24.  
  25.  

Posted by phill at 11 Aug 2014, 03:47:52 UTC
Language: text