setup win10 RDP because TigerVNC sucks

This commit is contained in:
mykola2312 2024-10-08 11:54:46 +03:00
parent 0a9954fc97
commit 7701f3d8f7
3 changed files with 11 additions and 0 deletions

3
bhyve/win10-rdp.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
xfreerdp3 /d:win10 /v:10.0.0.10 /p:12345678 /sec:tls /w:1366 /h:700

View file

@ -4,5 +4,6 @@ dhcp-range=10.0.0.2,10.0.0.254,12h
dhcp-host=00:16:3e:54:9f:a0,srv-master,10.0.0.2
dhcp-host=00:16:3e:ea:77:71,srv-slave1,10.0.0.3
dhcp-host=00:16:3e:41:65:1e,srv-slave2,10.0.0.4
dhcp-host=00:a0:98:71:7f:b6,win10,10.0.0.10
dhcp-option=option:ntp-server,10.0.0.1
dhcp-option=option:dns-server,10.0.0.1

View file

@ -40,3 +40,10 @@ pass in on $pf_strict inet proto tcp from <goonlan> to any port $tcp_services
pass in on $pf_strict inet proto udp from <goonlan> to any port $udp_services
# Allow outgoing traffic
pass out on $pf_strict all
# TAILSCALE
block in log on tailscale0 all
pass in on tailscale0 inet proto tcp from any to any port 1337
pass out on tailscale0 all