tarmarbar

joined 11 months ago
[–] [email protected] 2 points 10 months ago

Me too, but I never found it helpful. What's your experience in using it in life?

[–] [email protected] 0 points 10 months ago (1 children)

I'm guessing they have a blacklist of known VPN servers and block you from accessing them. One of the options is running a VPN server at your home outside of China.

  1. Ask your ISP to be excluded from their NAT and to give you a public IP address

  2. Use a DDNS service if your public IP changes regularly, so you have a domain name which always points to your current IP

  3. Install Wireguard VPN on your computer (or if you have a fancy router like Mikrotik run it on the router)

  4. Port forward a port to that computer/server

  5. Install Wireguard app on Android and connect. If done well, your data will be sent encrypted to your home, and you access the Internet from there.

[–] [email protected] 5 points 11 months ago

This. Also, make sure the proxy is proxying websocket traffic as well. I do it with pure nginx like this:

server {
    listen 80;
    server_name example.com;

    location / {
        proxy_pass http://192.168.1.100:8123/;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        # WebSocket support
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}
view more: ‹ prev next ›