Board logo

標題: MikroTiK + Raspberry Pi + V2Ray 正、反向透明代理 [打印本頁]

作者: 角色    時間: 2018-11-21 10:16     標題: MikroTiK + Raspberry Pi + V2Ray 正、反向透明代理

本帖最後由 角色 於 2018-11-21 10:27 編輯

如果用VPN科学上网,很多时候都会被侦测出来而进行干扰,因为这样Shadowsocks和V2Ray的出现,如果要堵塞Shadowsocks或V2Ray,就要把整个把所有大陆以外的IP addresses全封闭,这要付出非常大的代价,正由于此到现在Shadowsocks或V2Ray都有很多人用!因为V2Ray的功能已经包含Shadowsocks,所以现在我们只讨论V2Ray(设好V2Ray就要V2Ray和Shadowsocks的servers)。

因为海外不少V2Ray用家都想看内地的节目,但是由于地域问题都不得要领。因为现在很多大陆的ISP给市民都是私网IP地址,在海外根本访问不到,
自从v4.0开始,V2Ray已经具备有反方向代理,这个主要然海外的用家可以上国内网而设。

一般我们用V2Ray,device都要安装一个V2Ray client,然后连到remote V2Ray server,如果用透明代理我们就可以直接连SSID,然后后面就让系统来处理。

[attach]4227[/attach]

在HK side,用家把mobile device1连SSID1_CN(透明代理)通过反方向代理连接到大陆的RP2,上大陆网站。

在CN side,用家把mobile device2连SSID2_HK(透明代理)通过正方向代理连接到香港的RP1,上香港(大陆以外)网站。
作者: 角色    時間: 2018-11-21 10:23

本帖最後由 角色 於 2019-1-21 00:42 編輯

资料搜集:

*** using AP or Gateway to access the free-world websites ***
https://ellinia.me/How-to-set-up-transparent-gateway/

*** Most important reference link for building a V2Ray server on Raspberry Pi ***
https://blog.zichao.io/2018/03/03/v2ray-on-vyos.html

https://github.com/v2ray/v2ray-core/issues/1129

RouterOS + V2Ray透明代理:

http://liberize.github.io/tech/r ... nsparent-proxy.html

https://lttt.vanabel.cn/2015/06/ ... BF%BB%E5%A2%99.html

https://fishedee.com/2016/11/30/ ... %E4%BB%A3%E7%90%86/

http://hackers365.com/?p=1014

https://kirikira.moe/post/26/

https://dakai.github.io/2017/11/27/v2ray.html

https://github.com/v2ray/v2ray-core/issues/1016

https://bbs.et8.net/bbs/showthread.php?p=16737666

https://toutyrater.github.io/app/transparent_proxy.html

https://blog.csdn.net/Sherry_Rui/article/details/49444661
作者: 角色    時間: 2018-11-21 10:24

本帖最後由 角色 於 2018-11-22 12:28 編輯

Realise iptable commands in MikroTik

https://forum.mikrotik.com/viewtopic.php?t=114549

https://forum.mikrotik.com/viewtopic.php?t=102446

https://forum.mikrotik.com/viewtopic.php?t=76446

Forward Traffic to another ip:port

https://forum.mikrotik.com/viewtopic.php?t=121497

https://forum.mikrotik.com/viewtopic.php?t=88049

https://forum.mikrotik.com/viewtopic.php?t=107067
作者: 角色    時間: 2018-11-21 10:24

本帖最後由 角色 於 2018-12-2 20:54 編輯

Mikrotik force all default 53 port dns to another dns server

https://wiki.mikrotik.com/wiki/F ... pecified_DNS_server
作者: 角色    時間: 2018-11-21 10:24

备用帖子5
作者: Skypeus    時間: 2018-11-22 12:14

上面有个地址 https://toutyrater.github.io/ 这个国内打不开

V2Ray 会不会未来某一天也会被 GFW 干掉呢?

矛 和 盾 的关系 ?谁的技术 更厉害呢?
作者: vpnuser    時間: 2018-11-29 00:59

支持一下學習學習
作者: 角色    時間: 2019-2-6 09:42

正向透明代理已经做好,测试过,效果良好。

第一种方式:http://www.telecom-cafe.com/foru ... &extra=page%3D1

第二种方式:http://www.telecom-cafe.com/foru ... highlight=Raspberry

第三种方式:http://www.telecom-cafe.com/foru ... highlight=Raspberry
作者: vpn-learner    時間: 2019-2-6 22:28

回復 1# 角色


    是否上例的RP1和RP2 都要装上V2RAY?
作者: 角色    時間: 2019-2-6 22:51

你说的没有错!
作者: vpn-learner    時間: 2019-5-10 13:12

回復 10# 角色


    补充问多一些, 上例两个 RPB1 和 RPB2 的 config.json 入面, 它们的 INBOUND 和 OUTBOUND 里的设定有是否有区别?有没有需要做些特别要注意的设定?
作者: 角色    時間: 2019-5-10 15:05

正式我没有做过,详细你可以看King sir的帖子。




歡迎光臨 電訊茶室 (http://www.telecom-cafe.com/forum/) Powered by Discuz! 7.2