Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ubuntu20.04 v2ray不监听ipv4的处理办法
#1

v2ray服务正常,能pnig通,就是不能连接富强,经netstat -apn | grep v2ray 发现,只监听了ipv6,处理办法:
修改/etc/sysctl.conf ,把 #net.ipv4.ip_forward = 0 改为 net.ipv4.ip_forward = 1 (也就是去掉#号,把0改为1,开启ipv4转发)
运行 sysctl -p /etc/sysctl.conf
,重启v2ray 即可。
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)