mirror of
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-11-04 02:32:47 +00:00 
			
		
		
		
	add another example
This commit is contained in:
		
							parent
							
								
									4578d593d8
								
							
						
					
					
						commit
						53a89f7a48
					
				@ -23,7 +23,14 @@ npm install -g stunnel
 | 
				
			|||||||
How to use `stunnel.js` with your own instance of `stunneld.js`:
 | 
					How to use `stunnel.js` with your own instance of `stunneld.js`:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
stunnel.js --locals http:john.example.com:3000,https:john.example.com --stunneld https://tunnel.example.com:443 --secret abc123
 | 
					stunnel.js --locals john.example.com --stunneld wss://tunnel.example.com:443 --secret abc123
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					stunnel.js \
 | 
				
			||||||
 | 
					  --locals http:john.example.com:3000,https:john.example.com \
 | 
				
			||||||
 | 
					  --stunneld wss://tunnel.example.com:443 \
 | 
				
			||||||
 | 
					  --secret abc123
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user