-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathproperties.example
More file actions
148 lines (131 loc) · 13 KB
/
Copy pathproperties.example
File metadata and controls
148 lines (131 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
; properties configuration file (ini format)
;
; DO NOT DIRECTLY COPY OR EDIT THIS FILE. PLEASE ADD OR REMOVE CONFIGURATION FROM THE DEVICE'S REMOTE DESKTOP
;
; This file is the startup configuration file for the lamda server.
; You can use this file to configure the server's startup behavior, such as port, certificate, proxy,
; and other settings. You can configure it within the 65000 remote desktop.
[DEFAULT]
port=65000 ; Set listening port for LAMDA.
; webui.* keys are only allowed in DEFAULT section
; You can preset various parameters of the remote desktop.
webui.darkmode = off ; Whether to enable remote desktop darkmode theme.
webui.audio = on ; Whether to enable remote desktop audio. (need android 10+)
webui.upload-path = /data/local/tmp/uploads ; Set the default directory for drag-and-drop upload in remote desktop.
webui.share-clipboard = off ; Whether to enable remote desktop bidirectional clipboard sharing.
webui.touch.use-screen-size = off ; Use the original screen size to calculate touch coordinates (enable in special cases).
webui.webrtc = on ; Whether to enable remote desktop WebRTC.
webui.webrtc.ice-server = stun:stun.device-farm.com ; Set the WebRTC STUN/TURN server addresses (separate multiple entries with commas).
; example stun server: stun:stun.device-farm.com
; example turn server: turn://user:pass@example.com:3478?transport=tcp
webui.video.h264 = on ; Whether to enable H264 encoding (improves smoothness).
webui.video.backend = 0 ; Set the video backend implementation (0 = default or 1 = hardware).
webui.video.scale = 0.5 ; Set the video scaling ratio (0.1-1.0, where 1.0 represents full resolution).
webui.video.quality = 50 ; Set video quality (10-100).
webui.video.fps = 35 ; Set the expected video frame rate.
; Set service certificate. It will encrypt your remote desktop
; and API traffic, and enable password authentication. You can obtain
; the following configuration value by running 'base64 -w0 lamda.pem'.
cert=TEFNREEgU1NMIENFUlRJRklDQVRFIChDTj10ZXN0LFBBU1NXRD1hMWMwZTNlYTcwN2E1NGRlN2EwZjk1KQotLS0tLUJFR0lOIFBSSVZBVEUgS0VZLS0tLS0KTUlJRXZnSUJBREFOQmdrcWhraUc5dzBCQVFFRkFBU0NCS2d3Z2dTa0FnRUFBb0lCQVFEVmNMWlA5b0xRWkRIRgp5V0pTa2U0Z0crSUpmSCtMWlk0cXUzdS9OckRwSHZCN2k5V01rMWxRL2FMSGI0V3ZqelBLK1RITm9rRzc2MENRClhBTUpWS0dmYXRwcmNLUXdvMGhvWDZ2NlhsTVlZUlNRbW9wN3pSaUtnN3ZxKzV2S09DQ2RKcDFlSVNiZXcyTEgKTmYxL3JZelpwa1Q1bHoxTGZkem00eXJBS3VNa0tyZ3pnTzJRcE9CQVdYdmdiWG9BMDdidDdOODZZOGdNZFUwdAp6Ui9EcmhLTi9JMVdYSk11MU4wQW5UbDJRdEhEb0dCN0UyS0xpdmwybDZJdnRrYWJ4RE55Y2lHbUxOUGlMRklrCllPSHlnMUg3MUJ2NU04NE5TWDc1c2xuOXVNUGUzOVNFVlJoU0ptNHcvT2tXZnA5dGpZRUx3dHphdFhoSWJoS3MKaC9OZU1lOWRBZ01CQUFFQ2dnRUFCYlFuWUdlcFdKYjAydURtSnhLNGx2OFNhL0o1dzJpSldMYjk0dW1SUExRKwpTa1E5c1Zpc0JiQU1JNHc2dWFyNEFBVTh3WGxaTndPekMvM2V6dWNHRXFreEFReXM0VDB4SXRPUkF2WExxVlowCkl1WnpxNW53Si9OeFFzeEtmaWhBZkRLYlRmZjdmcG5MWlV0dlpNbG5LWUh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YwpLbG1ubjNacGp5Tk9IRUEvaUFPMkR5RVlhMDh4U2V2TTdXb2piRjdjTmo1L0RZZzdlYjBpMCsvL2JCbGg4bmxPCmdoU1VoQ1RNNVBDb2ZMRFU4c1ZYdVlBaUdVNlV6QnJJQzB2SEVsdERraUpWTHBjQ3RzS2pFWk9za1BkQWM3dTYKL2FBMFA1R29uWjVVa1JEWXBhK2plSlVhYnFXWlFRRWd0bXZqbG1VVWlYd3UwalJuajFuMFQzZlBRRDNnQStMSQp2QUU5dmd2cFk1WFFqNm90cEJ2c1ozTUpKTktjVU1RdTF6T0FOVHpPMThUbEE4S29CTnNCeThaOURRWktYRjhDCkF3RUFBVEFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBZUduL055cUlSSS8wQUdxdkhQOTdLdFE3NlRqNmFjaGIKMzBMSVhXcCtZSFVhTWVBVmpkMlo3alNRcDVtWlpGbCtrMWZiMzM3SWVhR1hvZlZJMjFlSzUyUVgydGVOb0JrQQovVi9PMUh1MzUvK2FpejB4c2RENndXdndvNEZ5MWpsbWFlSmh3ZFFhY0JsREdGQTJqRkp4dUVwYWhmeFp2VXNiCjNqNXpVMFdLVFVDZkVEZ1hGd0J3MTJ4a3UvN1RNZENFYlJzWWFaM3pGVEMyMjZsUWJVRE43d2VxRndTRCt0QjYKUnVoSXhlOCtjRndBc0FXSENsZXJLZ1pucjN0NVFGMDc4cFcyR0h5OENzSjdWM01aVDVsWjQzbFM1TklCOUp6WgpTWXhaL2l6aFJ5aDVxUjczdUFnc0phTDU2QmorY1Fxbm9UcWhMWlZsN0orTTZXaFdLem9qc0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
; Set remote desktop login password, 6-32 characters.
; This password will only take effect if a service certificate
; is used. It serves as a backup password to the one generated in
; the certificate (for easier memorization).
ssl-web-credential=password123
; Set Access-Control-Allow-Origin header of firerpa webui
; and it's apis to allow you embed firerpa's features to your web application
; see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
allow_origin=https://example.com
; ----- Remote Desktop Touch Fix -----
; If there is an offset or no response when you touch the screen on
; the remote desktop, please set the touch.backend configuration to system
; available options are: system | native (default)
touch.backend=system
; Set service log file (directory must exists)
logfile=/data/local/tmp/server.log
; ----- OpenVPN Configuration -----
; Do not manually write the following configuration. You should use
; our accompanying OpenVPN server setup solution to set it up and
; generate this configuration using its built-in commands.
[openvpn]
openvpn.proto=udp
openvpn.cipher=AES-256-GCM
openvpn.host=123.123.123.123
openvpn.port=1190
openvpn.ca=LS0tLS1CRU...
openvpn.cert=LS0tLS1CRU...
openvpn.key=LS0tLS1CRU...
openvpn.tls_encryption=
openvpn.tls_key_direction=
openvpn.tls_key=
; ONLY THE FOLLOWING CONFIGURATION ITEMS CAN BE MANUALLY CONFIGURED.
openvpn.global=false ; Whether to enable global VPN.
openvpn.enable=true ; Whether to enable the service true | false
; ----- Proxy Configuration -----
; This configuration is used to make the device automatically use a proxy server at startup.
[gproxy]
gproxy.enable=true ; Whether to enable the service true | false
gproxy.type=http-connect ; The proxy type can be either http-connect, https-connect, socks5, shadowsocks
gproxy.host=172.1.1.1 ; Proxy server address
gproxy.port=8080 ; Proxy server port
gproxy.password= ; Proxy server login password (leave empty for no authentication)
gproxy.login= ; Proxy server login username (leave empty for no authentication, crypto method if type is shadowsocks)
gproxy.nameserver= ; Custom DNS server
gproxy.drop_udp=false ; Whether to discard UDP packets.
gproxy.udp_proxy=false ; Whether to proxy UDP packets (requires proxy support, such as socks5, shadowsocks).
gproxy.bypass_local_subnet=true ; Do not proxy local area network traffic.
gproxy.dns_proxy=false ; Make DNS queries go through the proxy (requires a DNS server that supports UDP and TCP).
gproxy.uid= ; Only proxy for specified UIDs. (default global)
# ----- CRONTAB Scheduled Task Service -----
# If you do not need scheduled tasks, you can disable this service.
[cron]
cron.enable=true ; Whether to enable the service true | false
# ----- SSHD Service -----
# If you do not need to connect to the device via SSH, you can disable this service.
[sshd]
sshd.enable=true ; Whether to enable the service true | false
# ----- Port Forwarding (frp) Service -----
[fwd]
fwd.enable=true ; Whether to enable the service true | false
fwd.rport=0 ; Port to forward to the remote (0 means randomly allocated)
fwd.host=123.123.123.123 ; FRP server address
fwd.port=9911 ; FRP server port
fwd.protocol=tcp ; FRP protocol
fwd.token=abc123 ; FRP login authentication (token)
# ----- ADB Service -----
[adb]
adb.enable=true ; Whether to enable the service true | false
adb.directory=/data/local/tmp ; Default working directory for built-in ADB (adb shell working directory)
; WARNING WARNING WARNING
; If set to true, the ADB connection will have root privileges,
; otherwise it will have shell privileges. When this option is set to false,
; you will be using a native-like adb shell, and you will not be able to use
; LAMDA's built-in commands. Please note that since ADB does not use TLS connections,
; traffic may be monitored. For security reasons, when the LAMDA service is
; started with a certificate, this value will be set to false by default.
; However, if you specify it in the properties.local file, the configuration
; in the file will take precedence.
; You are responsible for ensuring security.
adb.privileged=true
# ----- Bridge Proxy Service -----
[tunnel2]
tunnel2.enable=true ; Whether to enable the service true | false
; The bridge proxy will require login authentication only if both login and password
; are set. If either one is left empty, no login authentication will be required.
tunnel2.login=lamda
tunnel2.password=1234 ; Login password for the bridge proxy
; Outbound interface (rmnet|wlan)
; When the outbound interface is rmnet, the proxy will attempt to forward your requests through mobile data.
; When the outbound interface is wlan, requests will be forwarded through the wlan interface.
; If the configuration is empty, the default network will be used to forward the requests.
tunnel2.iface=rmnet
; You can test the proxy by using curl -x http://192.168.x.x:65000 https://httpbin.org/ip
; (no username or password configured by default). If you have enabled certificate,
; you need to use curl -x https://lamda:cert-password@192.168.x.x:65000 https://httpbin.org/ip--proxy-insecure -v
; (or reconfigure the login name and password).
# ----- mDNS Broadcast Service -----
[mdns]
mdns.enable=false ; Enable or disable true | false
mdns.meta=false ; Add TXT metadata for mDNS. When enabled, it will support querying device information such as model, ABI, and device ID using tools like python-zeroconf. Disabled by default.
mdns.name=DEVICEID-UNIQUE.lamda ; Set the broadcast domain name using a locally unique ID, default is {DEVICEID-UNIQUE}.lamda. If the name duplicates in the local network, a suffix ID will be automatically added.
mdns.service=lamda ; Set the broadcast service name, default is lamda, i.e., _lamda._tcp.local.