Contributor III
April 9, 2020
Technical Note: CSTN 00039: Enabling the IPv6 protocol in the CyOPs appliance
- April 9, 2020
- 0 replies
- 840 views
Description
Solution
This article provides you information about how you can enable the IPv6 protocol in the CyOPsâ„¢ appliance to access CyOPsâ„¢ over an IPv6 address.
By default, IPv6 is disabled in the CyOPsâ„¢ appliance (version 5.0.0 or earlier). You require to execute the shell script attached with this article to enable IPv6.
Solution
Steps to execute the shell script
- Login to your CyOPsâ„¢ terminal.
- Type sudo su.
- Copy the
enable_ipv6-v3.shscript, which is attached with the article. - Execute the script using the following command:
sh enable_ipv6-v3.sh
The script performs following tasks:
- Enables the IPv6 protocol.
- Configures the SSL certs for inter-service communication.
- Updates the CyOPsâ„¢component to use IPv6 protocol.
- Restarts CyOPsâ„¢services.
- The script might also initiate reboot of systems based on the grub settings.
Notes:
- This script does not disable IPv4
- Nginx is configured for both IPv4 and IPv6
- Incase you want make nginx listen to only IPv6, then perform the following steps:
- Edit the
/etc/nginx/conf.d/cyops-api.conffile as follows:
Addlisten [::]:443 ipv6only=on;
Remove all other listen statements. - Restart the nginx service using the following command:
systemctl restart nginx
- Edit the
- Incase you want make nginx listen to only IPv6, then perform the following steps:
