forked from mirrors/amnezia-wg-easy
		
	Dockerfile: use iptables-legacy and symlink to iptables
This commit is contained in:
		
							parent
							
								
									849436d6a4
								
							
						
					
					
						commit
						95038b7d5e
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -35,9 +35,11 @@ RUN npm i -g nodemon
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install Linux packages
 | 
					# Install Linux packages
 | 
				
			||||||
RUN apk add -U --no-cache \
 | 
					RUN apk add -U --no-cache \
 | 
				
			||||||
    iptables \
 | 
					    iptables-legacy \
 | 
				
			||||||
    wireguard-tools \
 | 
					    wireguard-tools \
 | 
				
			||||||
    dumb-init
 | 
					    dumb-init &&\
 | 
				
			||||||
 | 
					    rm /sbin/iptables &&\
 | 
				
			||||||
 | 
					    ln -s /sbin/iptables-legacy /sbin/iptables
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Expose Ports
 | 
					# Expose Ports
 | 
				
			||||||
EXPOSE 51820/udp
 | 
					EXPOSE 51820/udp
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue