{"id":26769471,"url":"https://github.com/sypper-pit/safeguardian-vpn","last_synced_at":"2026-04-05T20:32:23.432Z","repository":{"id":212384502,"uuid":"731375137","full_name":"sypper-pit/SafeGuardian-VPN","owner":"sypper-pit","description":"SafeGuardian VPN - An Advanced Whonix Alternative Based on LXC Containers (use tor, wireguard,openvpn)","archived":false,"fork":false,"pushed_at":"2025-12-10T17:26:25.000Z","size":1081,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-11T03:20:29.619Z","etag":null,"topics":["bash","bash-script","ethereum","linux","lxc","lxc-containers","openvpn","openvpn-client","private","security","security-tools","tor","ubuntu","ubuntu-server","vpn","vpn-client","whonix","whonix-gateway","wireguard","wireguard-client"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sypper-pit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-14T00:11:57.000Z","updated_at":"2025-12-10T17:26:29.000Z","dependencies_parsed_at":"2024-06-12T01:16:21.214Z","dependency_job_id":null,"html_url":"https://github.com/sypper-pit/SafeGuardian-VPN","commit_stats":{"total_commits":62,"total_committers":1,"mean_commits":62.0,"dds":0.0,"last_synced_commit":"99483f4a7d0317c1b132ca86a059f581702baad2"},"previous_names":["sypper-pit/safeguardian-vpn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sypper-pit/SafeGuardian-VPN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sypper-pit%2FSafeGuardian-VPN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sypper-pit%2FSafeGuardian-VPN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sypper-pit%2FSafeGuardian-VPN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sypper-pit%2FSafeGuardian-VPN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sypper-pit","download_url":"https://codeload.github.com/sypper-pit/SafeGuardian-VPN/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sypper-pit%2FSafeGuardian-VPN/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31449351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","ethereum","linux","lxc","lxc-containers","openvpn","openvpn-client","private","security","security-tools","tor","ubuntu","ubuntu-server","vpn","vpn-client","whonix","whonix-gateway","wireguard","wireguard-client"],"created_at":"2025-03-28T22:31:43.985Z","updated_at":"2026-04-05T20:32:23.400Z","avatar_url":"https://github.com/sypper-pit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src='logo.png' width='200'\u003e\n\u003ca href=\"https://www.producthunt.com/posts/safeguardian-vpn?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-safeguardian\u0026#0045;vpn\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=430245\u0026theme=light\" alt=\"SafeGuardian\u0026#0045;VPN - Whonix\u0026#0032;Alternative\u0026#0032;Based\u0026#0032;on\u0026#0032;LXC\u0026#0032;Containers | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e \n\n\n[telegram support](https://t.me/SafeGuardian_VPN)\n\n# SafeGuardian VPN - An Advanced Whonix Alternative Based on LXC Containers \n\n## If you want help me. Send donats:\n\nDogecoin (DOGE): `D6kb8jcVXYTi82nsoACAYKYhtA5EJ4D9Jg`\n\nLitecoin (LTC): `LfMJCyxxg65sA3X9XEze157D16ztszndqk`\n\nBitcoin (BTC): `bc1qttzg9yww3nv5dg2d5ja95txmt0mrw9dltfqj57`\n\nMonero (XMR): `8AyWrMwPCxrcbcmVDj3Y5RCfcSQtBBVE2JK9qJ4WqrPpaoa3uNvLReQXPXGj7D5zEsMjBKeWWdyDD4gerqzTtKKS36zSfnM`\n\nEthereum (ETH): `0xbdfec67586a78e5d3b58dfb70aa181823c8deafa`\n\nTRC-20 USDT: `TTZGfnhurU62VRRGYUHMPJ8q6U8rn5xG5a`\n\nERC-20 USDT: `0xbdfec67586a78e5d3b58dfb70aa181823c8deafa`\n\n\n## Run on ubuntu\nneed ubuntu 22.04\n\n## Overview\nSafeGuardian VPN is a powerful tool for creating and managing VPN servers in LXC containers, inspired by the functionality of Whonix. This project offers flexible VPN connection settings with support for WireGuard, OpenVPN (with and without a password), and Tor, ensuring a high level of anonymity and security.\n\n## Features\n- **LXC Containers:** Isolated and lightweight containers for improved performance and security.\n- **VPN Technology Support:** WireGuard, OpenVPN (with and without a password) and Tor.\n- **Killswitch Functionality:** Ensures data security by automatically disconnecting the internet connection in case of VPN failure.\n\n## Installation and Configuration\n\n### 1. Initial Configuration\nRun `bash ./lxd_conf.sh` to initialize LXD.\n\n### 2. Preliminary Configuration\nExecute `bash ./init.sh` to prepare the necessary settings.\n\n### 3. VPN Configuration\nCopy the VPN configuration files into the appropriate folders:\n- WireGuard: `wireguard/1/wg-client.conf`\n- OpenVPN with password: `openvpn-pass/1/client.ovpn` and `openvpn-pass/1/passwd.txt`\n- OpenVPN without password: `openvpn/1/client.ovpn`\n\n**Important:** Ensure that the configurations for each VPN are different to avoid errors.\n\npasswd.txt:\n```\n\u003clogin\u003e\n\u003cpassword\u003e\n```\n\n### 4. Launch and Deployment\nAfter copying all the necessary configuration files, run `bash ./setup.sh` to deploy the VPN containers.\n\n## Conclusion\nSafeGuardian VPN offers an advanced level of privacy and security, combining the best practices of Whonix and LXC containers. This project is ideal for users looking for a reliable and flexible VPN solution.\n\n### Changing the Default Gateway\nInstructions are in the change_gate folder.\n\n### Viewing All IPs (Run on the Main Host)\n`lxc ls`\n\n**All IP Gateways for Desktop**: \n    10.0.4.200 - this is for Tor (set by default)\nother IPs can be found in the list.\n\n# Changing the IP Gateway\n### This application only works for xfce4 (not added by default in desktop)\nCopy the change_gate folder with files into your desktop1 container after installing xfce4.\n    ****Execute:****\n    \n    `cd change_gate`\nthen\n\n    `bash ./setup`\n\n\n#### Or manually inside the container:\n     `ip route del default`\nthen\n\n     `ip route add default via 10.0.4.100`\n\n___\n\nTo enter the container, use:\n\n    `lxc exec desktop1 -- bash`\n\nThen, you can install your applications for Debian 12 in the standard way through the console.\n\nIf you need to forward a port, for example, for SSH (install SSH in the container) and execute:\n```\nlxc config device add desktop1 eth-ssh proxy listen=tcp:0.0.0.0:2222 connect=tcp:127.0.0.1:22\n```\n### To connect specifically to the container, use port 2222 and the IP of your main host.\n\nIf you need to forward a port, for example, for VNC (install VNC in the container) and execute:\n```\nlxc config device add desktop1 eth-vnc proxy listen=tcp:0.0.0.0:5900 connect=tcp:127.0.0.1:5900\n```\nFurther steps follow the same pattern.\n\n***Attention:*** When port forwarding, be sure to specify unique names `eth-\u003cname\u003e` \n\n___\n\n___\n# SafeGuardian VPN - Расширенный Аналог Whonix на основе LXC контейнеров\n\n## Запускается на ubuntu\nВам необходимо на хосте иметь ubuntu 22.04\n\n## Обзор\nSafeGuardian VPN – это мощный инструмент для создания и управления VPN-серверами в LXC контейнерах, вдохновленный функциональностью Whonix. Проект предоставляет гибкость настройки VPN-подключений с поддержкой WireGuard, OpenVPN (с паролем и без), и Tor, обеспечивая высокий уровень анонимности и безопасности.\n\n## Особенности\n- **LXC Контейнеры:** Изолированные и легковесные контейнеры для улучшенной производительности и безопасности.\n- **Поддержка VPN Технологий:** WireGuard, OpenVPN (с паролем и без) и Tor.\n- **Killswitch Функционал:** Гарантирует безопасность данных, автоматически отключая интернет-соединение в случае сбоя VPN.\n\n## Установка и Настройка\n\n### 1. Начальная Конфигурация\nЗапустите `bash ./lxd_conf.sh` для инициализации LXD.\n\n### 2. Предварительная Конфигурация\nВыполните `bash ./init.sh` для подготовки необходимых настроек.\n\n### 3. Конфигурация VPN\nСкопируйте конфигурационные файлы VPN в соответствующие папки:\n- WireGuard: `wireguard/1/wg-client.conf`\n- OpenVPN с паролем: `openvpn-pass/1/client.ovpn` и `openvpn-pass/1/passwd.txt`\n- OpenVPN без пароля: `openvpn/1/client.ovpn`\n\n**Важно:** Убедитесь, что конфигурации для каждого VPN отличаются, чтобы избежать ошибок.\n\npasswd.txt:\n```\n\u003clogin\u003e\n\u003cpassword\u003e\n```\n\n### 4. Запуск и Развертывание\nПосле копирования всех необходимых файлов конфигурации, запустите `bash ./setup.sh` для развертывания контейнеров VPN.\n\n## Заключение\nSafeGuardian VPN предлагает продвинутый уровень конфиденциальности и безопасности, объединяя лучшие практики Whonix и LXC контейнеров. Этот проект идеален для пользователей, которые ищут надежное и гибкое VPN-решение.\n\n### Смена default gateway\nИнструкция в папке change_gate\n\n\n# Смена ip gateway\n### Приложение работает только для xfce4 (в desktop по умолчанию не добавлено)\nСкопируйте папку с фаилами change_gate в ваш контейнер desktop1 предварительно установив xfce4\n    ****выполните:****\n    \n    `cd change_gate`\nзатем\n\n    `bash ./setup`\n\n\n#### или в ручную внутри контейнера:\n     `ip route del default`\nзатем\n\n     `ip route add default via 10.0.4.100`\n\n___\n\nЧтоб зайти в контейнер используйте:\n\n    `lxc exec desktop1 -- bash`\n\nДалее уже можно ставить стандартным способом через консоль ваши приложения как для debian 12\n\nЕсли вам нудно пробросить порт на пример для ssh (установите ssh в контейнере) и выполните:\n\n    `lxc config device add desktop1 eth-ssh proxy listen=tcp:0.0.0.0:2222 connect=tcp:127.0.0.1:22`\n### для подключения именно к контейнеру используйте порт 2222 ip вашего основного хоста\n\nЕсли вам нудно пробросить порт на пример для VNC (установите vnc в контейнере) и выполните:\n\n    `lxc config device add desktop1 eth-vnc proxy listen=tcp:0.0.0.0:5900 connect=tcp:127.0.0.1:5900`\n\nДальше всё по аналогии.\n\n***Внимание:*** при перебросе портов обязательно указывайте уникальные имена `eth-\u003cname\u003e` \n\n### Просмотр всех ip (запускается на основном хосте)\n`lxc ls`\n\n**Все ip gateway для desktop**: \n    10.0.4.200 - это tor (стоит по умолчанию)\nостальные смотрите из списка.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsypper-pit%2Fsafeguardian-vpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsypper-pit%2Fsafeguardian-vpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsypper-pit%2Fsafeguardian-vpn/lists"}