mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Exec update-alternatives to use iptables-legacy. nftables replaces iptables on Debian 10
This commit is contained in:
		| @@ -288,6 +288,7 @@ function default_configuration() { | ||||
|     if [ ! -f "/etc/systemd/system/iptables.service" ]; then | ||||
|         echo "Enabling iptables.service" | ||||
|         sudo cp "$webroot_dir/installers/iptables.service" /etc/systemd/system/ || install_error "Unable to move iptables.service file" | ||||
|         sudo update-alternatives --set iptables /usr/sbin/iptables-legacy || install_error "Unable to execute update-alternatives" | ||||
|         sudo systemctl daemon-reload | ||||
|         sudo systemctl enable iptables.service || install_error "Failed to enable iptables.service" | ||||
|         sudo systemctl start iptables.service || install_error "Unable to start iptables.service" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user