zhboner / realm

A network relay tool
MIT License
1.54k stars 285 forks source link

openwrt x86里运行 转发udp出现错误 #8

Closed fedstryale closed 4 years ago

fedstryale commented 4 years ago

使用环境: Openwrt Koolshare mod V2.31 X86-64

出现错误:

转发udp出现错误 failed to send out UDP packet, Invalid argument (os error 22)

zhboner commented 4 years ago

一般是绑定的本机ip不对造成的,设置成0.0.0.0试试

fedstryale commented 4 years ago

绑定的127.0.0.1,我先试下0.0.0.0 0.0.0.0是可以的,但不太安全,为什么127.0.0.1无法绑定呢

zhboner commented 4 years ago

需要绑定正确的接口,0.0.0.0是监听所有地址,所以没这个问题