Skip to content

Installation

Ebrahim Shafiei edited this page Nov 9, 2025 · 4 revisions

⚙️ Setup

1. Configuration Files

Server Configuration (server_config.json)

  • ports: Array of ports to listen on
  • shell: Shell command to execute (cmd.exe for Windows, /bin/bash for Linux)
  • max_auth_attempts: Maximum failed login attempts before IP blocking
  • server_version: Custom SSH server version string

server_config.json

Windows

{
  "ports": [64235, 64236,64237],
  "shell": "cmd.exe",
  "max_auth_attempts": 3,
  "server_version": "SSH-2.0-Abdal-4iProto-Server",
  "private_key_file": "id_ed25519",
  "public_key_file": "id_ed25519.pub"
}

linux

{
  "ports": [64235, 64236,64237],
  "shell": "/bin/bash",
  "max_auth_attempts": 3,
  "server_version": "SSH-2.0-Abdal-4iProto-Server",
  "private_key_file": "id_ed25519",
  "public_key_file": "id_ed25519.pub"
}

users.json

[
  {
    "username": "ebrasha",
    "password": "152314562152",
    "role": "admin",
    "blocked_domains": [],
    "blocked_ips": [],
    "log": "no",
    "max_sessions": 1,
    "session_ttl_seconds": 300
  },
  {
    "username": "user1",
    "password": "password123",
    "role": "user",
    "blocked_domains": [
      "facebook.com",
      "*.facebook.com",
      "twitter.com",
      "*.twitter.com",
      "instagram.com",
      "*.instagram.com"
    ],
    "blocked_ips": [
      "192.168.1.100",
      "10.0.0.*",
      "172.16.*.*"
    ],
    "log": "yes",
    "max_sessions": 2,
    "session_ttl_seconds": 300
  },
  {
    "username": "user2",
    "password": "password456",
    "role": "user",
    "blocked_domains": [
      "youtube.com",
      "*.youtube.com",
      "netflix.com",
      "*.netflix.com"
    ],
    "blocked_ips": [
      "192.168.10.1",
      "10.10.10.10"
    ],
    "log": "yes",
    "max_sessions": 5,
    "session_ttl_seconds": 300
  }
]

blocked_ips.json

{
  "blocked": [
    "192.168.1.12",
    "10.0.0.7"
  ]
}

2. SSH Key Setup

To generate an SSH key for this server, use the Abdal 4iProto Server SSH KeyGen software, which you can download from the link below:

🔗 Download Abdal 4iProto Server SSH KeyGen

For better server performance, it is recommended to generate keys using the ED25519 algorithm.

Clone this wiki locally