mirror of
				https://github.com/wangyu-/udp2raw.git
				synced 2025-11-04 20:25:34 +08:00 
			
		
		
		
	Now we can use following instructions to run. docker run --net=host --cap-add=NET_ADMIN wangyucn/udp2raw-tunnel -c -r44.55.66.77:9000 -l 127.0.0.1:6000 --raw-mode faketcp --lower-level auto -a -k xxxxxxxx
		
			
				
	
	
		
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM alpine:3.6 as builder
 | 
						|
 | 
						|
WORKDIR /
 | 
						|
 | 
						|
RUN apk add --no-cache git  build-base linux-headers && \
 | 
						|
 git clone https://github.com/wangyu-/udp2raw-tunnel.git  && \
 | 
						|
 cd udp2raw-tunnel && \
 | 
						|
 make dynamic
 | 
						|
 | 
						|
FROM alpine:3.6
 | 
						|
RUN apk add --no-cache libstdc++ iptables
 | 
						|
COPY --from=builder /udp2raw-tunnel/udp2raw_dynamic /bin/
 | 
						|
ENTRYPOINT [ "/bin/udp2raw_dynamic" ]
 |