在OpenSUSE下使用以下命令可以禁用掉系统自带的防火墙.
通过防火墙
/sbin/SuSEfirewall2 off
使用Systemd来禁用防火墙
systemctl -q is-enabled SuSEfirewall2 && systemctl disable SuSEfirewall2 systemctl -q is-active SuSEfirewall2 && systemctl stop SuSEfirewall2
It's dangerous to go alone! Take this.
在OpenSUSE下使用以下命令可以禁用掉系统自带的防火墙.
通过防火墙
/sbin/SuSEfirewall2 off
使用Systemd来禁用防火墙
systemctl -q is-enabled SuSEfirewall2 && systemctl disable SuSEfirewall2 systemctl -q is-active SuSEfirewall2 && systemctl stop SuSEfirewall2
因为FreeBSD base包中带的dhclient不支持IPv6, 所以FreeBSD原生不支持DHCPv6. 但是如果我们可以使用dual-dhclient来让FreeBSD支持DHCPv6.
通过Pkg安装dual-dhclient
pkg install dual-dhclient
在/etc/rc.conf中加入以下配置来启用dual-dhclient
ipv6_activate_all_interfaces="YES" dhclient_program="/usr/local/sbin/dual-dhclient" ifconfig_DEFAULT="DHCP accept_rtadv"
重启网络
service netif restart
稍等片刻即可成功获取到IPv6地址.
参考: https://forums.freebsd.org/threads/60168/