mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
This is a major rewrite of the core networking logic enabling one-way control and encryption through the webrtc-dtls crate. closes #164 closes #104
34 lines
942 B
TOML
34 lines
942 B
TOML
# example configuration
|
|
|
|
# capture_backend = "LayerShell"
|
|
|
|
# release bind
|
|
release_bind = ["KeyA", "KeyS", "KeyD", "KeyF"]
|
|
|
|
# optional port (defaults to 4242)
|
|
port = 4242
|
|
# optional frontend -> defaults to gtk if available
|
|
# frontend = "gtk"
|
|
|
|
# list of authorized tls certificate fingerprints that
|
|
# are accepted for incoming traffic
|
|
[authorized_fingerprints]
|
|
"bc:05:ab:7a:a4:de:88:8c:2f:92:ac:bc:b8:49:b8:24:0d:44:b3:e6:a4:ef:d7:0b:6c:69:6d:77:53:0b:14:80" = "iridium"
|
|
|
|
# define a client on the right side with host name "iridium"
|
|
[right]
|
|
# hostname
|
|
hostname = "iridium"
|
|
# optional list of (known) ip addresses
|
|
ips = ["192.168.178.156"]
|
|
|
|
# define a client on the left side with IP address 192.168.178.189
|
|
[left]
|
|
# The hostname is optional: When no hostname is specified,
|
|
# at least one ip address needs to be specified.
|
|
hostname = "thorium"
|
|
# ips for ethernet and wifi
|
|
ips = ["192.168.178.189", "192.168.178.172"]
|
|
# optional port
|
|
port = 4242
|