mirror of
https://github.com/winapps-org/winapps.git
synced 2026-11-29 10:55:45 -05:00
Merge pull request #900 from winapps-org/oskardotglobal-patch-2
Do not expose RDP to the local network by default
This commit is contained in:
+8
-3
@@ -23,9 +23,14 @@ services:
|
||||
PASSWORD: "MyWindowsPassword" # Edit here to set a password for the Windows user. The default is 'MyWindowsPassword'.
|
||||
HOME: "${HOME}" # Set path to Linux user home folder.
|
||||
ports:
|
||||
- 8006:8006 # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006.
|
||||
- 3389:3389/tcp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP).
|
||||
- 3389:3389/udp # Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP).
|
||||
# Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006.
|
||||
- "127.0.0.1:8006:8006"
|
||||
# Map '3389' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP).
|
||||
- "127.0.0.1:3389:3389/tcp"
|
||||
- "127.0.0.1:3389:3389/udp"
|
||||
# Uncomment the next two lines and comment out the two above to expose RDP to the local network.
|
||||
# - 3389:3389/tcp
|
||||
# - 3389:3389/udp
|
||||
cap_add:
|
||||
- NET_ADMIN # Add network permission
|
||||
stop_grace_period: 120s # Wait 120 seconds before sending SIGTERM when attempting to shut down the Windows VM.
|
||||
|
||||
Reference in New Issue
Block a user