Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Available server node 是否支持nat映射 #68

Open
Atlas-2020 opened this issue Jan 8, 2019 · 2 comments
Open

Available server node 是否支持nat映射 #68

Atlas-2020 opened this issue Jan 8, 2019 · 2 comments

Comments

@Atlas-2020
Copy link

server端是内网IP,通过NAT映射公网,agent为公网,连接过来的时候,debug查看,获取到的Available server node 为server的内网IP,这个是否可配置,支持nat映射!

@ywolf
Copy link
Collaborator

ywolf commented Jan 8, 2019

无法配置 目前为自动识别活跃网卡ip,如果要自定义server节点注册ip 需修改此处逻辑,通过参数传入
https://github.com/ysrc/yulong-hids/blob/master/server/models/common.go#L139

@ywolf
Copy link
Collaborator

ywolf commented Jan 8, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants