From: "Andrew G. Klepcha" <andrew.klepcha@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] wireguard только для некоторых программ
Date: Fri, 12 Jun 2026 14:35:55 +0300
Message-ID: <e6a96ca9-ec81-4dbe-a2f3-e51b25ee6d57@gmail.com> (raw)
всем привет!
прошу помощи в поиске решения или хотя бы направления куда копать в
altlinux p11
суть проблемы: есть несколько программ и сервисов ("санкционеры"),
которые не работают или частично не работают из-за западных санкций. для
обхода использую wireguard со своим сервером в us. сейчас работает так:
включен wgus => санкционеры работают, но весь мой трафик идет тоже через
wg в штаты. а хочется, чтобы по умолчанию трафик шел через моего
оператора впрямую, а только эти "санкционеры" работали через туннель. я
попробовал сделать network namespace и в него засунуть интерфейс
wireguard. в таком варианте задумка работает, но только от рута :(
демонстрация (curl как пример):
andrew@G1 ➜ ~ curl https://ifconfig.me; echo
возвращается: ip, выданный моим оператором
[root@G1 ~]# ip netns exec wgus-selective curl https://ifconfig.me; echo
возвращается: ip моего штатовского сервака
andrew@G1 ➜ ~ ip netns exec wgus-selective curl https://ifconfig.me; echo
setting the network namespace "wgus-selective" failed: Operation not
permitted
запускать от рута весь этот зоопарк "санкционеров" я не хочу. что можно
сделать? и является ли этот запрет доступа к сетевому пространству имен
для пользователя альт-специфичной штукой или так везде?
next reply other threads:[~2026-06-12 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-12 11:35 Andrew G. Klepcha [this message]
2026-06-12 14:08 ` Starodumoff Ilya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e6a96ca9-ec81-4dbe-a2f3-e51b25ee6d57@gmail.com \
--to=andrew.klepcha@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git