mirror of
				https://github.com/flynx/proxmox-utils.git
				synced 2025-11-03 21:50:10 +00:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
		
			434 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			434 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								[Interface]
							 | 
						||
| 
								 | 
							
								Address = ${CLIENT_IPS}
							 | 
						||
| 
								 | 
							
								SaveConfig = true
							 | 
						||
| 
								 | 
							
								PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o lan -j MASQUERADE; iptables -t nat -A POSTROUTING -o admin -j MASQUERADE;
							 | 
						||
| 
								 | 
							
								PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o lan -j MASQUERADE; iptables -t nat -D POSTROUTING -o admin -j MASQUERADE;
							 | 
						||
| 
								 | 
							
								ListenPort = ${ENDPOINT_PORT}
							 | 
						||
| 
								 | 
							
								PrivateKey = ${SERVER_PRIVATE_KEY} 
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |