$u, 'admin_pass' => password_hash($p, PASSWORD_DEFAULT), 'created_at' => date('c'), ]; if (function_exists('app_save_config')) { app_save_config($app_cfg); } else { $dir = '/etc/torpanel'; @mkdir($dir, 0770, true); @file_put_contents("$dir/app.json", json_encode($app_cfg, JSON_PRETTY_PRINT), LOCK_EX); @chgrp($dir, 'www-data'); @chmod($dir, 0770); @chgrp("$dir/app.json", 'www-data'); @chmod("$dir/app.json", 0660); } config_apply([ 'nickname' => $nickname, 'contact' => $contact, 'orport' => $orport, 'rate_mbps' => $rate_mbps, 'burst_mbps' => $burst_mbps, 'cap_gb' => $cap_gb, 'acc_day' => $acc_day, ]); header('Location: /login.php?ok=1'); exit; } } ?> First-time Setup ยท Tor Relay Panel

First-time Setup

Step 1
Admin account
Step 2
Relay basics
Mbps
GB
Mbps
Reminder
  • Forward TCP 9001 (or your ORPort) from your router to this device.
  • It can take a while to get the Running flag after changes.