-
Hi, I want to use v2ray as a proxy client that proxy "transparent" https traffic which is directly sent to v2ray WITHOUT a CONNECT request. I have read v2fly's guide about TProxy but it's somehow different to my target:
To describe the question better, please consider this example:
to 1.1.1.1:1081 and then to real destination google.com:443. I have tried this configuration. It does proxy http traffic but not https traffic:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, I found the solution: I did try this method but failed because I didn't set There's still a tiny issue that sniffing doesn't override Here's the configuration:
v2ray logs
|
Beta Was this translation helpful? Give feedback.
OK, I found the solution:
dokodemo-door
+sniffing
.I did try this method but failed because I didn't set
address
andport
insettings
, I thought thatsniffing
always override them. But it turns out that I was wrong and v2ray only override them when they're already set.There's still a tiny issue that sniffing doesn't override
port
so I have to set it to fixed443
for https only. But this is enough for me and I could add another inbounding for http (port 80) if I need it.Here's the configuration: