Coder Social home page Coder Social logo

Comments (16)

riobard avatar riobard commented on May 4, 2024 1

No idea how it works on Windows. You might want to Google for it.

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Did you enable UDP relay mode on the server? The UDP and TCP tunnels allow you to send DNS queries to Google DNS. You can try dig @127.0.01 -p 8053 twitter.com to see if it works.

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

@riobard I don't think so. Could you please guide me, how can I enable UDP/TCP relay?
when I run the command:

dig @127.0.01 -p 8053 twitter.com
on the CentOS server, I get the following output:

[root@test]# dig @127.0.01 -p 8053 twitter.com

; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.2 <<>> @127.0.01 -p 8053 twitter.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Should be @127.0.0.1. Sorry for the typo.

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

@riobard still the same:

; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.2 <<>> @127.0.0.1 -p 8053 twitter.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Try dig @127.0.0.1 -p 8053 +tcp twitter.com

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

almost immediately got the following output:

;; Connection to 127.0.0.1#8053(127.0.0.1) for twitter.com failed: connection refused.

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

Shadowsocks-libev service in /usr/lib/systemd/system/shadowsocks-libev.service
looks like this in my VPS:

[Unit]
Description=Shadowsocks-libev Default Server Service
Documentation=man:shadowsocks-libev(8)
After=network.target

[Service]
Type=simple
EnvironmentFile=/etc/default/shadowsocks-libev
User=root
LimitNOFILE=32768
#ExecStart=/usr/bin/ss-server -a $USER -c $CONFFILE $DAEMON_ARGS
ExecStart=/usr/bin/ss-manager --manager  127.0.0.1:LOCALPORT --executable /usr/bin/ss-server -v -c /etc/shadowsocks-libev/config.json
[Install]
WantedBy=multi-user.target

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

my config.json file is multi-user, don't know if this information helps, thanks a lot :).
EDIT: if you need the config.json, let me know. Thanks

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Maybe you could try to run go-shadowsocks2 on the server and see what's wrong.

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

thanks for the reply. Tried with go-shadowsocks2, everything works perfectly, but still, some sites, like YouTube won't open.
This is the error on the terminal on VPS:

2017/03/14 11:30:18 failed to connect to target: dial tcp [THAT_CENSORED_IP]:80: getsockopt: connection timed 

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Looks like your DNS is poisoned. Point your DNS server to 127.0.0.1:8053

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

yup they are, but how can I point my DNS server to 127.0.0.1:8053?

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

That depends on your OS.

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

Server: CentOS 7 OpenVZ
Client: Windows 10 x64

from go-shadowsocks2.

SquirrelCoder avatar SquirrelCoder commented on May 4, 2024

@nadoo Thanks a lot man. Greatly appriciate it. Will definitely try it out :).

from go-shadowsocks2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.