Skip to content

求助:主路由无法设置静态路由到泡泡网关,请问有啥解决方案? #25

Answered by kkkgo
max1023 asked this question in 问和答
Discussion options

You must be logged in to vote
  • 如果把电脑的网关直接设置成PaoPaoGateway的IP,那么相当于所有流量都走PaoPaoGateway处理,除非你内置了clash分流规则,不然就是相当于全局走节点代理;
  • 因为所有流量都走PaoPaoGateway处理,而腾讯视频这种应用可能会有偷带宽的P2P发起大量UDP连接等行为,会导致高负载的CPU占用和内存占用,按原本的设计来说这些国内流量也不应该让PaoPaoGateway处理,而是路由器最好是硬件路由器处理;因此你说的方案1虽然是能用但作为整个局域网透明代理并不适合;
  • 如果你要弄ROS等软路由的话,你可以把主路由的DHCP功能关闭,由ROS来DHCP分配IP信息,下发DNS设置为PaoPaoDNS,网关设置保持为主路由,然后DHCP 是可以通过 option 121 下发路由表的(具体设置可以网上搜索下对应的软路由系统),这样你的网络并不会多一层nat,国内网络依然走主路由,只有被分流的流量会走PaoPaoGateway,利用DHCP完成静态路由下发。
  • 最后,你的主路由是啥型号?一个《路由》器居然不支持设置路由……(不会是新出的tplink吧)其实你也可以用光猫拨号,现在的光猫性能一般都很强的,静态路由、端口映射啥的功能也肯定不缺。

这里有个实践分享很不错,你可以参考下。#23

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
3 replies
@kkkgo
Comment options

@max1023
Comment options

@kkkgo
Comment options

Answer selected by max1023
Comment options

You must be logged in to vote
1 reply
@max1023
Comment options

Comment options

You must be logged in to vote
4 replies
@kiss2u
Comment options

@Lovest20018
Comment options

@kiss2u
Comment options

@kkkgo
Comment options

Comment options

You must be logged in to vote
3 replies
@kkkgo
Comment options

@zenithiks
Comment options

@kkkgo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants