hysteria
hysteria copied to clipboard
关于在docker镜像中增加网关模式的建议
建议在docker镜像中,增加一个启用网关模式的参数变量,若启用网关模式,则在启动脚本中增加几条iptables规则,引导流量至tun,实现旁路网关的功能
理论上确实是可行的, 但是需要 docker 容器以特权模式运行, 且如果 iptables 设置不当会造成服务器失联... 所以这种东西交给普通用户操作, 我个人是觉得比较危险的.
@tobyxdd @mritd Could you consider using a mode like v2rayA (https://github.com/v2rayA/v2rayA) ? It would be very useful to the general linux version and it will not be limited to just docker.
Thanks,