mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 03:45:39 +08:00 
			
		
		
		
	rename for clone success
This commit is contained in:
		
							
								
								
									
										33
									
								
								Trojan-TCP-TLS (minimal)/config_client.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Trojan-TCP-TLS (minimal)/config_client.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
{
 | 
			
		||||
    "log": {
 | 
			
		||||
        "loglevel": "warning"
 | 
			
		||||
    },
 | 
			
		||||
    "inbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "port": 10800,
 | 
			
		||||
            "listen": "127.0.0.1",
 | 
			
		||||
            "protocol": "socks",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "udp": true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
    "outbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "trojan",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "servers": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "address": "example.com",
 | 
			
		||||
                        "port": 443,
 | 
			
		||||
                        "password": "your password"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "streamSettings": {
 | 
			
		||||
                "network": "tcp",
 | 
			
		||||
                "security": "tls"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										39
									
								
								Trojan-TCP-TLS (minimal)/config_server.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								Trojan-TCP-TLS (minimal)/config_server.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
{
 | 
			
		||||
    "log": {
 | 
			
		||||
        "loglevel": "warning"
 | 
			
		||||
    },
 | 
			
		||||
    "inbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "port": 443,
 | 
			
		||||
            "protocol": "trojan",
 | 
			
		||||
            "settings": {
 | 
			
		||||
                "clients": [
 | 
			
		||||
                    {
 | 
			
		||||
                        "password":"your password",
 | 
			
		||||
                        "email": "love@v2fly.org"
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "streamSettings": {
 | 
			
		||||
                "network": "tcp",
 | 
			
		||||
                "security": "tls",
 | 
			
		||||
                "tlsSettings": {
 | 
			
		||||
                    "alpn": [
 | 
			
		||||
                        "http/1.1"
 | 
			
		||||
                    ],
 | 
			
		||||
                    "certificates": [
 | 
			
		||||
                        {
 | 
			
		||||
                            "certificateFile": "/path/to/fullchain.crt",
 | 
			
		||||
                            "keyFile": "/path/to/private.key"
 | 
			
		||||
                        }
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
    "outbounds": [
 | 
			
		||||
        {
 | 
			
		||||
            "protocol": "freedom"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user