Skip to content

Commit

Permalink
添加修改端口后防火墙开放
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Feb 16, 2022
1 parent 06740c2 commit 86d6381
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trojan/trojan.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func ChangePort() {
return
}
if core.WritePort(newPort) {
util.OpenPort(newPort)
fmt.Println(util.Green("端口修改成功!"))
Restart()
} else {
Expand Down

0 comments on commit 86d6381

Please sign in to comment.