Browse Source

Fix WireGuard Port

pull/502/head
Malte Werkhausen 3 years ago
parent
commit
cddeaa948a
  1. 8
      .idea/.gitignore
  2. 6
      .idea/inspectionProfiles/Project_Default.xml
  3. 8
      .idea/modules.xml
  4. 6
      .idea/vcs.xml
  5. 8
      .idea/wg-easy.iml
  6. 9
      package-lock.json
  7. 2
      src/lib/WireGuard.js

8
.idea/.gitignore

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

6
.idea/inspectionProfiles/Project_Default.xml

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

8
.idea/modules.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/wg-easy.iml" filepath="$PROJECT_DIR$/.idea/wg-easy.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

8
.idea/wg-easy.iml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

9
package-lock.json

@ -1,4 +1,11 @@
{
"name": "wg-easy",
"version": "1.0.0",
"lockfileVersion": 1
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.0.0"
}
}
}

2
src/lib/WireGuard.js

@ -95,7 +95,7 @@ module.exports = class WireGuard {
[Interface]
PrivateKey = ${config.server.privateKey}
Address = ${config.server.address}/24
ListenPort = 51820
ListenPort = ${WG_PORT}
PreUp = ${WG_PRE_UP}
PostUp = ${WG_POST_UP}
PreDown = ${WG_PRE_DOWN}

Loading…
Cancel
Save