v2ray-plugin
v2ray-plugin copied to clipboard
Is the plugin do not support udp forwording?
ss-server.json:
{ "server":"0.0.0.0", "server_port":18381, "local_port":1080, "password":"password", "timeout":180, "method":"aes-256-gcm", "mode":"tcp_and_udp", "fast_open":true, "reuse_port":true, "plugin":"v2ray-plugin",
"plugin_opts":"server;host=domain.com;path=/ss" }
nginx.conf:
server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name domain.com; #HSTS add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"; add_header X-Content-Type-Options nosniff; add_header X-Frame-Options DENY; ssl on; #ECC ssl_certificate /ssl/ecc/fullchain.cer; ssl_certificate_key /ssl/ecc/domain.com.key; #RSA ssl_certificate /ssl/rsa/fullchain.cer; ssl_certificate_key /ssl/rsa/domain.com.key; ssl_ciphers ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS; ssl_dhparam /ssl/dhparam.pem; ssl_session_cache shared:SSL:10m; ssl_session_tickets on; ssl_session_timeout 5m; ssl_stapling on; ssl_stapling_verify on; resolver 8.8.8.8 8.8.4.4 valid=300s; resolver_timeout 5s; location /ss { proxy_http_version 1.1; proxy_intercept_errors on; proxy_pass http://127.0.0.1:18381; proxy_redirect off; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; } }
My Question: In my android phone, use shadowsocks with v2ray-plugin,if I disabled UDP DNS, everything is OK; but when I enabled UDP DNS, then could not connect the server. So, Is the plugin do not support udp forwording?or there are something wrong in my confs?
Thanks a lot!
I'm using v2ray-plugin with UDP DNS forwarding now and it's working like a charm, so it has nothing to do with the plugin. I'd suggest you take a look at your firewall settings, both on your server side and the console provided by your server hosting (e.g. AWS). You have to grant udp traffic to make UDP forwarding available.
The plugins do not support UDP at all. If you configure UDP forwarding with the plugin enabled, plugin settings are no in effect. https://ntc.party/t/testing-shadowsocks-udp-handling-with-obfuscation-enabled/533
If plugins do not support UDP forwarding at all maybe possible somehow implement UDP support?
If plugins do not support UDP forwarding at all maybe possible somehow implement UDP support?
It's a good idea. I can't connect shadowsocks without plugins and I need this one. Maybe there are other people who need it just like me