This article is a rewrite of the following Original and Updated Version only with a few thoughts and observations added.
The technique described here may or may not work on other cloud/vps providers, it is imperative that you have some kind of console access so you can follow the pfsense installation steps.
Start by logging in your Digital Ocean Dashboard then create a new droplet, it actually doesn’t matter the size of the droplet but it ideally it you should enable the following options:
1) Select FreeBSD 11.X, the exact version probably doesn’t matter 11.x or 12.x are fine
2) Enable “Private Networking”, it will be nicer in the long term when you setup a VPN then you’ll be able to access your DigitalOcean VMs like a big LAN.
3) Enable “IPv6”, because ipv6 its the future, better start adapting now rather than later.
Continue reading “Install PFSense on a Digital Ocean Droplet”
As of 2019-10-01, the hosting company server4you.com doesn’t support IPv6, but if you want to test IPv6 or support your IPv6 capable clients there are still a few tricks you can try.
A good way is to use a broker to create a 6in4 tunnel with your IPv4 to the IPv6 enabled internet.
***** Disclaimer *****
This guide DOES NOT WORK if you are using their offerings of the vServer family because it’s powered by OpenVZ, but it will work perfectly with the VDS family powered by KVM or with their dedicated servers.
This is NOT a “true” IPv6 solution as you will use a tunnel broker to make a 6in4 tunnel, but it gets the job done for most workloads.
***** End Of Disclaimer *****
Continue reading “Centos 7 with IPV6 at Server4You”
If you are having problems with apt and IPv6 a temporary solution is to use the option ‘Acquire::ForceIPv4=true’ by appending ‘-o Acquire::ForceIPv4=true’ at the end of the apt command.
apt-get update -o Acquire::ForceIPv4=true
If you want a more permanent solution you can disable the usage of IPv6 with apt altogether with:
echo 'Acquire::ForceIPv4 "true";' | tee /etc/apt/apt.conf.d/99force-ipv4
If for any reason you want to disable ipv6 and don’t want to do it with the sysctl directive, another easy route is to append ‘ipv6.disable=1’ to the kernel boot parameters.
The grub Way
Open /etc/default/grub and edit the line that starts with GRUB_CMDLINE_LINUX_DEFAULT.
Add the entry ‘ipv6.disable=1’ to the arguments that are already there.
Save and run
Continue reading “Disable IPv6 on Linux Via Kernel Boot Parameters”
If for any reason you want to disable ipv6 and don’t want to do it with the sysctl directive, if your kernel was compiled with ipv6 support as a module one easy route is to blacklist the ipv6 kernel module.
All you need to do is create/update the ‘/etc/rc.modules.d/blacklist.conf’ file and add the line ‘blacklist ipv6’.
alternatively you can run the following command as root.
' >> /etc/modprobe.d/blacklist.conf
To completely disable IPv6 on your Linux system, side note you shouldn’t but it’s your choice, you can do so simply editing the 99-sysctl.conf file at the location ‘/etc/sysctl.d/99-sysctl.conf’
Copy and paste the following 3 lines at the bottom of the file.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
After editing the file you need to then reboot the machine or run the following command as root
To verify that you have ipv6 disabled you can run
Continue reading “Disable IPv6 Centos/Debian/Ubuntu”