hysteria icon indicating copy to clipboard operation
hysteria copied to clipboard

关于在docker镜像中增加网关模式的建议

Open hejaxian opened this issue 3 years ago • 2 comments

建议在docker镜像中,增加一个启用网关模式的参数变量,若启用网关模式,则在启动脚本中增加几条iptables规则,引导流量至tun,实现旁路网关的功能

hejaxian avatar Dec 13 '21 03:12 hejaxian

理论上确实是可行的, 但是需要 docker 容器以特权模式运行, 且如果 iptables 设置不当会造成服务器失联... 所以这种东西交给普通用户操作, 我个人是觉得比较危险的.

mritd avatar Feb 14 '22 09:02 mritd

@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,

egg1234 avatar Feb 26 '22 16:02 egg1234