Applicable to:
- SolusVM
Question
How to allow connection to link-local addresses when IP Stealing is enabled in SolusVM > Nodes > required node > Settings?
Answer
-
Connect to the required slave node over SSH.
-
Create a file
/usr/local/solusvm/data/hooks/ebtables-iploop.sh
with the following:Content of the fileCONFIG_TEXT: #!/bin/sh
##
## ebtables-iploop.sh
## This hook runs for each of the virtual server ip addresses
## Full Instructions: https://docs.solusvm.com/display/DOCS/ebTables+Hook
##
## WARNING!! This scripts runs as root. Be Carful with the commands you use!
##
## Edit this file and copy to ebtables-iploop.sh & chmod 755
## Variables
VIF=$1
IP=$2
ebtables -D $VIF -p IPv6 --ip6-src fe80::/ffc0:: -j ACCEPT
ebtables -D $VIF -p IPv6 --ip6-dst fe80::/ffc0:: -j ACCEPT
ebtables -A $VIF -p IPv6 --ip6-src fe80::/ffc0:: -j ACCEPT
ebtables -A $VIF -p IPv6 --ip6-dst fe80::/ffc0:: -j ACCEPT -
Set correct permission for the file:
# chmod 755 /usr/local/solusvm/data/hooks/ebtables-iploop.sh
-
Reapply IP stealing settings:
# /etc/init.d/solusvm-ipsecure restart
Comments
0 commentsPlease sign in to leave a comment.