增加端口映射功能

This commit is contained in:
lbl8603
2024-05-08 21:31:21 +08:00
parent d3dce7a3cc
commit 607c8c2e9f
12 changed files with 342 additions and 24 deletions
@@ -54,6 +54,10 @@ public class Config {
* dns地址
*/
private String[] dns;
/**
* 端口映射
*/
private String[] portMapping;
/**
* stun服务地址
*/
@@ -201,6 +205,13 @@ public class Config {
public void setDns(String[] dns) {
this.dns = dns;
}
public String[] getPortMapping() {
return portMapping;
}
public void setPortMapping(String[] portMapping) {
this.portMapping = portMapping;
}
public String[] getStunServer() {
return stunServer;