Space Acres
Space Acres is the simplest way to farm on Autonomys Network, requiring only two ports to be forwarded for optimal performance.
Network Architecture
Required Ports
Port | Протокол | Direction | Назначение | Impact if Blocked |
---|---|---|---|---|
30333 | TCP | Inbound/Outbound | Consensus chain P2P | Limited peer connections, slower sync |
30433 | TCP | Inbound/Outbound | DSN communication | Reduced piece retrieval, lower rewards |
Step-by-Step Configuration
Step 1: Find Your Network Information
- Windows
- Linux/macOS
- Browser Method
# Find your router's IP address (Default Gateway)
ipconfig | findstr "Default Gateway"
# Find your computer's IP address
ipconfig | findstr "IPv4 Address"
# Note these addresses - you'll need them for router configuration
# Find your router's IP address (Default Gateway)
ip route | grep default
# Alternative:
netstat -rn | grep default
# Find your computer's IP address
hostname -I | awk '{print $1}'
# Alternative:
ip addr show | grep "inet " | grep -v 127.0.0.1
To find your public IP address:
- Visit whatismyip.com in your browser
- Note your public IP address shown
To find your local IP address:
- Windows: Open Command Prompt and type
ipconfig
- Mac: Open System Preferences → Network
- Linux: Open Terminal and type
hostname -I
Step 2: Configure Your Router
-
Access Router Admin Panel
- Open your web browser
- Enter your router's IP address (typically
192.168.1.1
or192.168.0.1
) - Login with admin credentials (check router label if unknown)
-
Navigate to Port Forwarding
- Look for: "Port Forwarding", "Virtual Servers", "NAT", or "Applications"
- This is usually under "Advanced Settings" or "Security"
-
Create Port Forwarding Rules
Rule 1: Consensus Port
- Service Name:
Autonomys-Consensus
- Protocol:
TCP
- External Port:
30333
- Internal IP: Your computer's IP (from Step 1)
- Internal Port:
30333
- Enable:
Rule 2: DSN Port
- Service Name:
Autonomys-DSN
- Protocol:
TCP
- External Port:
30433
- Internal IP: Your computer's IP (from Step 1)
- Internal Port:
30433
- Enable:
- Service Name:
-
Save and Apply Changes
- Click Save/Apply
- Router may restart
Step 3: Configure Your Firewall
- Windows
- Linux
- macOS
Using Windows Defender Firewall:
# Run PowerShell as Administrator
# Create inbound rules
New-NetFirewallRule -DisplayName "Autonomys Consensus" `
-Direction Inbound -Protocol TCP -LocalPort 30333 -Action Allow
New-NetFirewallRule -DisplayName "Autonomys DSN" `
-Direction Inbound -Protocol TCP -LocalPort 30433 -Action Allow
# Verify rules were created
Get-NetFirewallRule -DisplayName "Autonomys*" | Format-Table DisplayName, Enabled, Direction
Alternative GUI Method:
- Open Windows Defender Firewall with Advanced Security
- Click "Inbound Rules" → "New Rule"
- Select "Port" → Next
- Select "TCP" and enter "30333, 30433" → Next
- Select "Allow the connection" → Next
- Check all profiles → Next
- Name it "Autonomys Network Ports" → Finish
Using UFW (Ubuntu/Debian):
# Enable firewall if not already active
sudo ufw enable
# Allow Space Acres ports
sudo ufw allow 30333/tcp comment 'Autonomys Consensus'
sudo ufw allow 30433/tcp comment 'Autonomys DSN'
# Check status
sudo ufw status verbose
Using iptables:
# Allow ports
sudo iptables -A INPUT -p tcp --dport 30333 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 30433 -j ACCEPT
# Save rules (varies by distribution)
# Ubuntu/Debian:
sudo iptables-save > /etc/iptables/rules.v4
# RHEL/CentOS:
sudo service iptables save
macOS typically allows outgoing connections by default. For incoming:
Using System Preferences:
- System Preferences → Security & Privacy → Firewall
- Click "Firewall Options"
- Add Space Acres to allowed applications
- Ensure "Block all incoming connections" is unchecked
Using Terminal (pfctl):
# Add rules to pf configuration
echo "pass in proto tcp from any to any port 30333" | sudo tee -a /etc/pf.conf
echo "pass in proto tcp from any to any port 30433" | sudo tee -a /etc/pf.conf
# Load and enable firewall rules
sudo pfctl -f /etc/pf.conf
sudo pfctl -e
Step 4: Verify Configuration
After configuring ports, verify they're accessible:
- Online Port Checker
- Command Line
- In Space Acres
- Start Space Acres and ensure it's running
- Visit canyouseeme.org
- Enter port
30333
and click "Check Port" - Should show "Success: I can see your service"
- Repeat for port
30433
Ports will show as "closed" if Space Acres isn't running when you test.
# Get your public IP
curl -s https://api.ipify.org
# Or visit whatismyip.com
# Test from another computer (replace YOUR_IP)
nc -zv YOUR_IP 30333
nc -zv YOUR_IP 30433
# Expected output: "Connection to YOUR_IP 30333 port [tcp/*] succeeded!"
Check the Space Acres interface:
- Look at the "Network" or "Peers" section
- You should see 40+ peers connected
- Sync should progress smoothly
- DSN should show active connections
Signs of Good Configuration:
- Peer count: 40
- Steady sync progress
- No "Network isolated" warnings
Решение проблем
Few or No Peers
Symptoms:
- Peer count stays below 40
- Slow or stuck synchronization
Solutions:
- Verify port forwarding is active in router
- Check Windows/OS firewall isn't blocking
- Restart Space Acres
- Try using a different port if ISP blocks default ones
Port Already in Use
Error: "Address already in use"
Solution:
# Find what's using the port (Windows)
netstat -ano | findstr :30333
# Find what's using the port (Linux/Mac)
sudo lsof -i :30333
# Either stop the conflicting service or use different ports in Space Acres settings
Behind CGNAT/Double NAT
Identifying CGNAT: Your router's WAN IP starts with:
- 10.x.x.x
- 100.64.x.x to 100.127.x.x
- 172.16.x.x to 172.31.x.x
Solutions:
- Contact ISP for public IP address
- Use IPv6 if available
- Consider VPN with port forwarding support
Advanced Options
Custom Port Configuration
If default ports are blocked or in use:
- Open Space Acres settings
- Navigate to Advanced → Network
- Change ports (example):
- Consensus: 31333
- DSN: 31433
- Update router port forwarding to match
- Update firewall rules to match
Static IP Assignment
For stable port forwarding:
- Router Admin → DHCP Settings
- Find DHCP Reservations/Static IP
- Add reservation:
- MAC Address: Your computer's MAC
- IP Address: Assign fixed IP
- Update port forwarding to use this IP
Best Practices
DO:
- Use static/reserved IP for your farming computer
- Keep Space Acres updated
- Monitor peer connections regularly
- Document your port configuration
DON'T:
- Expose RPC ports (Space Acres handles this internally)
- Use DMZ unless absolutely necessary
- Disable your firewall completely
- Share your IP address publicly