How to allow connection to link-local addresses when IP Stealing is enabled in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to allow connection to link-local addresses when IP Stealing is enabled in SolusVM > Nodes > required node > Settings?

Answer

  1. Connect to the required slave node over SSH.

  2. Create a file /usr/local/solusvm/data/hooks/ebtables-iploop.sh with the following:

    Content of the file

    CONFIG_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

  3. Set correct permission for the file:

    # chmod 755 /usr/local/solusvm/data/hooks/ebtables-iploop.sh

  4. Reapply IP stealing settings:

    # /etc/init.d/solusvm-ipsecure restart

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.