mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-11-04 04:49:29 +00:00 
			
		
		
		
	Update wireguard-install.sh
configure Network Address Translation
This commit is contained in:
		
							parent
							
								
									7d77be87d5
								
							
						
					
					
						commit
						21abd09052
					
				@ -21,7 +21,10 @@ $STD apt-get install -y git
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
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 iptables-persistent
 | 
			
		||||
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 | 
			
		||||
$STD netfilter-persistent save
 | 
			
		||||
$STD netfilter-persistent reload
 | 
			
		||||
msg_ok "Installed WireGuard"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing WGDashboard"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user