mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update wireguard-install.sh adding `resolvconf`
The `resolvconf` package is necessary to ensure that clients can properly resolve DNS queries and access the internet.
This commit is contained in:
		
							parent
							
								
									e680dab28f
								
							
						
					
					
						commit
						0a893ea188
					
				| 
						 | 
					@ -21,7 +21,7 @@ $STD apt-get install -y git
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing WireGuard"
 | 
					msg_info "Installing WireGuard"
 | 
				
			||||||
$STD apt-get install -y wireguard wireguard-tools net-tools iptables
 | 
					$STD apt-get install -y wireguard wireguard-tools net-tools iptables resolvconf
 | 
				
			||||||
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 | 
					iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 | 
				
			||||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null
 | 
					DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -y iptables-persistent &>/dev/null
 | 
				
			||||||
$STD netfilter-persistent reload
 | 
					$STD netfilter-persistent reload
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue