電訊茶室's Archiver

角色 發表於 2018-11-21 10:16

MikroTiK + Raspberry Pi + V2Ray 正、反向透明代理

[i=s] 本帖最後由 角色 於 2018-11-21 10:27 編輯 [/i]

如果用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

[i=s] 本帖最後由 角色 於 2019-1-21 00:42 編輯 [/i]

资料搜集:

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

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

[url]https://github.com/v2ray/v2ray-core/issues/1129[/url]

RouterOS + V2Ray透明代理:

[url]http://liberize.github.io/tech/raspberry-pi-transparent-proxy.html[/url]

[url]https://lttt.vanabel.cn/2015/06/11/shadowsocks%E6%A0%91%E8%8E%93%E6%B4%BE%E7%BF%BB%E5%A2%99.html[/url]

[url]https://fishedee.com/2016/11/30/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%81%9A%E9%80%8F%E6%98%8E%E4%BB%A3%E7%90%86/[/url]

[url]http://hackers365.com/?p=1014[/url]

[url]https://kirikira.moe/post/26/[/url]

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

[url]https://github.com/v2ray/v2ray-core/issues/1016[/url]

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

[url]https://toutyrater.github.io/app/transparent_proxy.html[/url]

[url]https://blog.csdn.net/Sherry_Rui/article/details/49444661[/url]

角色 發表於 2018-11-21 10:24

[i=s] 本帖最後由 角色 於 2018-11-22 12:28 編輯 [/i]

Realise iptable commands in MikroTik

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

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

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

Forward Traffic to another ip:port

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

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

[url]https://forum.mikrotik.com/viewtopic.php?t=107067[/url]

角色 發表於 2018-11-21 10:24

[i=s] 本帖最後由 角色 於 2018-12-2 20:54 編輯 [/i]

Mikrotik force all default 53 port dns to another dns server

[url]https://wiki.mikrotik.com/wiki/Force_users_to_use_specified_DNS_server[/url]

角色 發表於 2018-11-21 10:24

备用帖子5

Skypeus 發表於 2018-11-22 12:14

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

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

矛 和 盾 的关系 ?谁的技术 更厉害呢?

vpnuser 發表於 2018-11-29 00:59

支持一下學習學習

角色 發表於 2019-2-6 09:42

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

第一种方式:[url]http://www.telecom-cafe.com/forum/viewthread.php?tid=7300&extra=page%3D1[/url]

第二种方式:[url]http://www.telecom-cafe.com/forum/viewthread.php?tid=7301&highlight=Raspberry[/url]

第三种方式:[url]http://www.telecom-cafe.com/forum/viewthread.php?tid=7304&highlight=Raspberry[/url]

vpn-learner 發表於 2019-2-6 22:28

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=45677&ptid=7260]1#[/url] [i]角色[/i] [/b]


    是否上例的RP1和RP2 都要装上V2RAY?

角色 發表於 2019-2-6 22:51

你说的没有错!

vpn-learner 發表於 2019-5-10 13:12

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46146&ptid=7260]10#[/url] [i]角色[/i] [/b]


    补充问多一些, 上例两个 RPB1 和 RPB2 的 config.json 入面, 它们的 INBOUND 和 OUTBOUND 里的设定有是否有区别?有没有需要做些特别要注意的设定?

角色 發表於 2019-5-10 15:05

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

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.