Skip to content

Instantly share code, notes, and snippets.

View ccrsxx's full-sized avatar

Ami ccrsxx

View GitHub Profile
import pyautogui
import time
import os
def cls():
os.system('cls')
print(f'{" Spam chat - by Risal ":*^30}\n')
:root {
--main-accent: violet;
}
.dark .shadow-box {
background-color: rgba(0, 0, 0, 0.6) !important;
}
.dark .monitor-list .item:hover,
.dark .monitor-list .item.active {
# Set the address list name
:local blackListName "z_dns_ips_blacklist"
# Set the whitelisted IPs
# GitHub, Vercel, Tailscale in ascending order
:local whiteListIPs [:toarray \
" \
185.199.108.153, \
185.199.109.153, \
185.199.110.153, \
# Set the address list name
:local blackListName "z_dns_ips_blacklist"
# Set the whitelisted IPs
# GitHub, Vercel, Tailscale in ascending order
:local whiteListIPs [:toarray \
" \
185.199.108.153, \
185.199.109.153, \
185.199.110.153, \
@ccrsxx
ccrsxx / compose.yaml
Last active March 12, 2025 09:36
wg-easy port forward
volumes:
etc_wireguard:
networks:
net_wireguard:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.1
@ccrsxx
ccrsxx / v2ray-client-on-mikrotik.md
Last active May 11, 2025 19:38
V2ray Client on Mikrotik

Vless Client Setup for Mikrotik Router with Xray-Core and Tun2Socks

Hi guys! I read this topic, but I can't understand the specific algorithm for running the client part of Vless for my VPS server. Maybe someone can systematize the recommendations and write a FAQ on this issue? So far I've understood one thing: I need Mikrotik on the ARM architecture with RouterOS 7.0, with the ability to install packages. Then, I need to install the Xray-core and Tun2Socks package (I don't need ADGuard), but the next steps are unclear...

Solution Overview

Thanks to the rebuilt Xray-core and hev-socks5-tunnel containers, it has become much easier to launch containers.

In addition to preparing the router for the installation of containers, it is also necessary to prescribe routing for marked traffic.

Steps: