Skip to main content

Router Configuration

This guide provides step-by-step instructions for configuring port forwarding on popular router brands and models.

Before You Begin

Gather Required Information

# Get your computer's local IP address
# Linux/macOS:
hostname -I | awk '{print $1}'

# Windows PowerShell:
(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias Ethernet).IPAddress

# Get your router's IP (default gateway)
# Linux/macOS:
ip route | grep default | awk '{print $3}'

# Windows:
ipconfig | findstr "Default Gateway"

Required Ports Reference

ApplicationPorts Needed
Space Acres30333, 30433
CLI Farmer30333, 30433, 30533
Domain Operator30333, 30334, 30433, 40333

Router-Specific Guides

Access Router:

  1. Open browser and go to 192.168.1.1 or tplinkwifi.net
  2. Login (default: admin/admin)

Configure Port Forwarding:

  1. Navigate to AdvancedNAT ForwardingVirtual Servers
  2. Click Add or +
  3. Fill in details:
    • Service Type: Custom
    • Device: Select your computer or enter IP manually
    • External Port: 30333
    • Internal Port: 30333
    • Protocol: TCP
    • Status: Enabled
  4. Click Save
  5. Repeat for ports 30433 and 30533 (if needed)

Verify:

  • Go to System ToolsSystem Logs
  • Look for port forwarding entries

Common Models:

  • Archer AX series: Advanced → NAT Forwarding → Port Forwarding
  • Deco series: More → Advanced → Port Forwarding
  • Older models: Forwarding → Virtual Servers

Universal Port Forwarding Steps

If your router isn't listed above:

  1. Access Router Admin Panel

    • Common addresses: 192.168.1.1, 192.168.0.1, 10.0.0.1
    • Check router label for default credentials
  2. Find Port Forwarding Section Look for these menu items:

    • Port Forwarding
    • Virtual Servers
    • NAT/Gaming
    • Applications
    • Advanced → Forwarding
  3. Create Rules For each required port:

    • Name/Description: Descriptive name (e.g., "Autonomys-30333")
    • Protocol: TCP
    • External/Public Port: The port number
    • Internal/Private IP: Your computer's local IP
    • Internal/Private Port: Same as external
    • Enable/Active: Yes/Checked
  4. Save and Apply

    • Click Save/Apply
    • Router may reboot

Advanced Configuration

Setting Static IP (DHCP Reservation)

Ensures your computer always gets the same local IP:

  1. Find your computer's MAC address:

    # Linux/macOS
    ip link show | grep ether

    # Windows
    ipconfig /all | findstr Physical
  2. In router admin panel:

    • Look for: DHCP Reservation, Static IP, Address Reservation
    • Usually under: LAN Settings, DHCP, Network
  3. Add reservation:

    • MAC Address: Your computer's MAC
    • IP Address: Choose an IP (e.g., 192.168.1.100)
    • Device Name: Your computer name
  4. Save and restart your computer's network

Port Triggering vs Port Forwarding

FeaturePort ForwardingPort Triggering
When to useAutonomys farmingNot recommended
IP requirementStatic/Reserved IPDynamic IP OK
Multiple devicesOne per portCan share
SecurityAlways openOpens on demand
ReliabilityHighLower

Recommendation: Always use Port Forwarding for Autonomys Network.

Troubleshooting Router Issues

Port Forwarding Not Working

  1. Verify local connectivity:

    # Check if service is running
    netstat -tuln | grep 30333
  2. Check for double NAT:

    # Compare these IPs
    curl -s https://api.ipify.org # Public IP
    # vs router's WAN IP (check in router status)
  3. Common fixes:

    • Disable router firewall temporarily to test
    • Check ISP doesn't block ports
    • Ensure Windows/OS firewall configured
    • Try DMZ as last resort (security risk)

ISP Blocking Ports

Some ISPs block common ports. Solutions:

  1. Use alternate ports:

    • Change to 31333, 31433, 31533
    • Update both router and application config
  2. Contact ISP:

    • Request unblocking
    • Ask for business plan
    • Get static IP
  3. Workarounds:

    • VPN with port forwarding
    • IPv6 if available
    • Cloud VPS as relay

Security Considerations

Essential Security Rules

Always:

  • Use strong router admin password
  • Keep router firmware updated
  • Document your configuration
  • Use DHCP reservations

Never:

  • Use DMZ for farming computer
  • Disable firewall completely
  • Forward RPC ports (9944, 9945)
  • Share router admin credentials
  • Use default passwords

Monitoring Router Security

# Check open ports from outside
nmap -p 30333,30433,30533,9944 YOUR_PUBLIC_IP

# Expected: 30333-30533 open, 9944 closed/filtered

Quick Reference Card

Common Router IPs

  • 192.168.1.1 - Most routers
  • 192.168.0.1 - D-Link, Netgear
  • 10.0.0.1 - Some cable modems
  • 192.168.2.1 - Belkin, SMC

Default Credentials

  • TP-Link: admin/admin
  • Netgear: admin/password
  • Linksys: admin/admin or blank/admin
  • D-Link: admin/blank or admin/admin
  • ASUS: admin/admin

Always change default credentials!