11 lines
		
	
	
		
			269 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			269 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
cd /etc/openvpn
 | 
						|
 | 
						|
[ -f client.http ] || {
 | 
						|
    echo "Please run the OpenVPN container at least once in normal mode,"
 | 
						|
    echo "to generate the client configuration file. Thank you."
 | 
						|
    exit 1
 | 
						|
}
 | 
						|
 | 
						|
socat TCP-LISTEN:8080,reuseaddr - < client.http >> http8080.log 
 |