You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MANUAL_CONNECTION_GUIDE.md
+55-5Lines changed: 55 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,27 @@ Look for IP starting with `192.168.` or `10.0.`
40
40
41
41
**Edit the config file** (vrsctest.conf or VRSC.conf):
42
42
43
+
#### Option A: Specific IP Addresses (Recommended)
44
+
45
+
Use this if you know which devices will connect to your daemon. This is **more secure** as it only allows connections from specific IP addresses.
46
+
47
+
```
48
+
rpchost=0.0.0.0
49
+
rpcallowip=127.0.0.1
50
+
rpcallowip=192.168.1.52
51
+
rpcallowip=192.168.1.76
52
+
rpcallowip=10.0.0.250
53
+
rpcuser=your_username
54
+
rpcpassword=your_password
55
+
rpcport=18843
56
+
```
57
+
58
+
You can add as many `rpcallowip=` lines as needed—one for each device/IP address that should be allowed to connect. The first line (`127.0.0.1`) keeps local access working.
59
+
60
+
#### Option B: Allow All Local Network IPs (Less Secure)
61
+
62
+
⚠️ **Security Warning**: This allows **any device** on your local network to connect to your daemon if they know your username and password.
63
+
43
64
```
44
65
rpchost=0.0.0.0
45
66
rpcallowip=0.0.0.0/0
@@ -48,6 +69,11 @@ rpcpassword=your_password
48
69
rpcport=18843
49
70
```
50
71
72
+
Only use this if:
73
+
- You're on a trusted private network
74
+
- You don't know which IPs you'll connect from
75
+
- You understand the security implications
76
+
51
77
**Restart the daemon** after saving changes.
52
78
53
79
---
@@ -108,6 +134,29 @@ When connecting to a non-localhost daemon, the app will show a security warning.
108
134
- You're on a trusted private network
109
135
- You're using an SSH tunnel or VPN
110
136
137
+
### IP Allowlisting Best Practices
138
+
139
+
**Understanding `rpcallowip`:**
140
+
-`rpcallowip=127.0.0.1` - Only allows connections from the same computer (localhost)
141
+
-`rpcallowip=192.168.1.52` - Only allows connections from one specific IP address
142
+
-`rpcallowip=0.0.0.0/0` - Allows connections from **any IP address** on your network
143
+
144
+
**Recommended approach:**
145
+
1. Always keep `rpcallowip=127.0.0.1` for local access
146
+
2. Add specific `rpcallowip=` lines for each device you'll connect from
147
+
3. Use static IPs or DHCP reservations for devices that need RPC access
148
+
4. Avoid `0.0.0.0/0` unless you fully understand the risks
149
+
150
+
**Example for multi-device setup:**
151
+
```
152
+
rpcallowip=127.0.0.1 # Local access
153
+
rpcallowip=192.168.1.52 # Laptop
154
+
rpcallowip=192.168.1.76 # Desktop in office
155
+
rpcallowip=10.0.0.250 # Remote office VPN
156
+
```
157
+
158
+
This way, even if someone on your network discovers your RPC port is open, they can't connect unless they're using one of the allowed IP addresses.
159
+
111
160
---
112
161
113
162
## Advanced: SSH Tunnel (Encrypted)
@@ -199,11 +248,12 @@ If this fails, firewall is blocking the connection.
199
248
## Best Practices
200
249
201
250
1.**Use strong passwords** in RPC config
202
-
2.**Don't remember credentials** for remote connections unless it's your own server
203
-
3.**Use SSH tunnel** when connecting over internet or untrusted networks
204
-
4.**Set network to Private** on Windows (not Public)
205
-
5.**Restart daemon** after any config changes
206
-
6.**Close port 18843** in firewall when not in use for added security
251
+
2.**Limit `rpcallowip` to specific addresses** when possible—avoid `0.0.0.0/0` unless necessary
252
+
3.**Don't remember credentials** for remote connections unless it's your own server
253
+
4.**Use SSH tunnel** when connecting over internet or untrusted networks
254
+
5.**Set network to Private** on Windows (not Public)
255
+
6.**Restart daemon** after any config changes
256
+
7.**Close port 18843** in firewall when not in use for added security
0 commit comments