跳转至主要内容

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
30333TCPInbound/OutboundConsensus chain P2PLimited peer connections, slower sync
30433TCPInbound/OutboundDSN communicationReduced piece retrieval, lower rewards

Step-by-Step Configuration

Step 1: Find Your Network Information

# 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

Step 2: Configure Your Router

  1. Access Router Admin Panel

    • Open your web browser
    • Enter your router's IP address (typically 192.168.1.1 or 192.168.0.1)
    • Login with admin credentials (check router label if unknown)
  2. Navigate to Port Forwarding

    • Look for: "Port Forwarding", "Virtual Servers", "NAT", or "Applications"
    • This is usually under "Advanced Settings" or "Security"
  3. 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:
  4. Save and Apply Changes

    • Click Save/Apply
    • Router may restart

Step 3: Configure Your Firewall

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:

  1. Open Windows Defender Firewall with Advanced Security
  2. Click "Inbound Rules" → "New Rule"
  3. Select "Port" → Next
  4. Select "TCP" and enter "30333, 30433" → Next
  5. Select "Allow the connection" → Next
  6. Check all profiles → Next
  7. Name it "Autonomys Network Ports" → Finish

Step 4: Verify Configuration

After configuring ports, verify they're accessible:

  1. Start Space Acres and ensure it's running
  2. Visit canyouseeme.org
  3. Enter port 30333 and click "Check Port"
  4. Should show "Success: I can see your service"
  5. Repeat for port 30433
备注

Ports will show as "closed" if Space Acres isn't running when you test.

Troubleshooting

Few or No Peers

Symptoms:

  • Peer count stays below 40
  • Slow or stuck synchronization

Solutions:

  1. Verify port forwarding is active in router
  2. Check Windows/OS firewall isn't blocking
  3. Restart Space Acres
  4. 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:

  1. Contact ISP for public IP address
  2. Use IPv6 if available
  3. Consider VPN with port forwarding support

Advanced Options

Custom Port Configuration

If default ports are blocked or in use:

  1. Open Space Acres settings
  2. Navigate to Advanced → Network
  3. Change ports (example):
    • Consensus: 31333
    • DSN: 31433
  4. Update router port forwarding to match
  5. Update firewall rules to match

Static IP Assignment

For stable port forwarding:

  1. Router Admin → DHCP Settings
  2. Find DHCP Reservations/Static IP
  3. Add reservation:
    • MAC Address: Your computer's MAC
    • IP Address: Assign fixed IP
  4. 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