v2ray http forward proxy chainning support ?
a support of v2ray shadownsocks client plugin of http or socks forward proxy to chain the connection to the v2ray server....
like that : shadowsocks client -> v2ray-plugin client -> http/socks proxy -> v2ray server -> shadowsocks server
after some walking in the code... and on the v2ray framework documentation... i think that can be simple to add this option...
the v2ray framework seem to support http and socks proxy outbound chainning natively...
if i understand correctly your code when you generate v2ray config in [generateConfig](https://github.com/shadowsocks/v2ray-plugin/blob/63a74bef9e9f639bc199255db9d452d96f01d11a/main.go#L114) you can add proxy http/socks in outbound struct...
While be insteresting to adding 4 news command line options (parsing also with plugin option variable): proxyserver, proxyport, proxyuser, proxypassword you can generate the http config and add it in outbound struct returned by generateConfig function....
and the same for socks proxy...
It's seem easy too do it. Are you solve it ? I got error when build it again. The binary is not working as expected even I'm not modify anything.
Although I was initially interested in this as well, but after further thought, it occurred to me that this is not what V2Ray is for anyway. If you already have something like Tor to circumvent ISP restrictions which provides you with a SOCKs interface, then instead of using V2Ray over that, you can simple use SSH dynamic port-forwarding or OpenVPN if UDP is needed for the final hop.
P.S. I believe Forward Proxy of V2Ray is broken atm, of if it isn't, is too limited to the underlying protocol that can be passed over it. For example the doc gives only an example of a http forward proxy which I don't think has the capability of passing custom TCP headers through, yet nothing of such compatibility is mentioned in the doc and only remains discoverable through trial & error. More on that here.
Http forward proxy make possible to forward/tunnel tcp connection. And corporate only authorise http proxy.... No tor... No open vpn... And open vpn is overkill vs shadowsock....