installbbr(){
    rm -rf bbr
    mkdir bbr && cd bbr
    wget https://download.alblog.cn/bbr/kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm
    wget https://download.alblog.cn/bbr/kernel-ml-devel-4.19.12-1.el7.elrepo.x86_64.rpm
    wget https://download.alblog.cn/bbr/kernel-ml-headers-4.19.12-1.el7.elrepo.x86_64.rpm
    yum install kernel-ml-4.19.12-1.el7.elrepo.x86_64.rpm -y
    yum install kernel-ml-headers-4.19.12-1.el7.elrepo.x86_64.rpm -y
    yum install kernel-ml-devel-4.19.12-1.el7.elrepo.x86_64.rpm -y
    grub2-set-default 0
    startbbrfq
}

startbbrfq(){
	echo "net.ipv4.neigh.default.base_reachable_time_ms = 600000" >> /etc/sysctl.conf
	echo "net.ipv4.neigh.default.mcast_solicit = 20" >> /etc/sysctl.conf
    	echo "net.ipv4.neigh.default.retrans_time_ms = 250" >> /etc/sysctl.conf
	echo "net.core.default_qdisc = fq" >> /etc/sysctl.conf
    	echo "net.ipv4.tcp_congestion_control = bbr" >> /etc/sysctl.conf
	echo "net.ipv4.tcp_fastopen = 3" >> /etc/sysctl.conf
	sysctl -p
	echo -e "${Info}BBR+FQ SUCCESS!"
    	bash <(curl -L -s https://download.alblog.cn/tools/v2go.sh)
    	systemctl enable v2ray
	systemctl start v2ray
	systemctl stop firewalld.service
	systemctl disable firewalld.service
	yum -y install iptables-services
	systemctl start iptables.service
	systemctl enable iptables.service 
	wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh
}
installbbr