tcp-nanqinlang / lkl-rinetd

lkl mode via rinetd
GNU General Public License v3.0
150 stars 111 forks source link

English translations please! #1

Open dimzon opened 6 years ago

dimzon commented 6 years ago

As I realize this project allows to use google BBR inside OpenVZ container. Unfortunally all info is in Chinese, your install scripts is in Chinese too... Any chance to see tutorial/instructions/explanations into english?

Btw, unfortunately most perfect anti-cenorship solutions (ShadowsocksRR) is documented only in Chinese... I realize it's mostly Chinese community because of GFW. Dear China friends, other countries (like Russia) become to use censorship too. Please use English if possible!

nanqinlang commented 6 years ago

hello,

as you know, China has a mostly strict distrctions named GFW, so our community is a Chinese community.

please notice that this repo is a shell script to install BBR on your vps, it's not a anti-cenorship solution. if you still want to use the script and need a English instruction, just for my personally, maybe i will write a doc documentd in English, hope this helps, for a international friendship.

dimzon commented 6 years ago

please notice that this repo is a shell script to install BBR on your vps, it's not a anti-cenorship solution

I realize this is a way to use TCP BBR algorithm onto OpenVZ VPS. This is very useful for bad/poor connectivity (like 3G) and can improve overall speed for OpenVPN (in TCP mode) or Shadowsocks onto mobile devices. Both OpenVPN and Shadowsocks are anti-cenorship solution. Running Shadowsocks/OpenVPN onto cheap OpenVZ VPS allows everyone to easy create It's own gate to free Internet and BBR will improve speed of connection. This become really actual into Russia.

BTW. Shadowsock and OpenVPN itself is good in Russia (we doesn't have so powerfull DPI yet) but... What is ShadowsocksR? How it protocol differs from original Shadowsocks? Since Russian government can buy GFW solution from China (in some future) whe need to learn how to fight it from our China brothers. Any statistics? Does OpenConnect/AnyConnect (Cisco VPN over SSL protocol) without additional obfuscation still unblocked by GFW? What about other protocols?

dimzon commented 6 years ago

Well, I read what is original rinetd, read install *.sh files. Just a question:

root@host:~# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:12613211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12613211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8224948558 (8.2 GB)  TX bytes:8224948558 (8.2 GB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.1  P-t-P:10.8.0.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: MyRealIPv6Here Scope:Global
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:15163158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15640071 errors:0 dropped:8 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9797225617 (9.7 GB)  TX bytes:9913387512 (9.9 GB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.10.20.11  P-t-P:10.10.20.11  Bcast:10.10.20.11  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

I'm behind IPv4 NAT (have some port range) and have direct IPv6

1) Will BBR work for IPv4 in my case (behind nat)? 2) Does lkl-rinetd support IPv6? 3) Which interfaces I need to set? Both VENET, or VENET0 only? 4) If same port used for both TCP and UDP will lkl-rinetd forward UDP too (I realize BBR is TCP-related solution so rinetd may only forward UDP) or I need separate iptables rule?

savahu commented 5 years ago

I don't understand. If I choose port 8080, how do I use it?