Support direct socks proxy without ssh

This commit is contained in:
2025-02-27 11:05:11 -05:00
parent b61950cc40
commit e1c8128d02
4 changed files with 31 additions and 8 deletions

18
nnssA@.service Normal file
View File

@ -0,0 +1,18 @@
[Unit]
Description=Create network namespace and tun device to %I
After=nnss-ssh@%i.service
Requires=nnss-ssh@%i.service
StopWhenUnneeded=yes
[Service]
Type=notify
NotifyAccess=all
RuntimeDirectory=nnssA%i
ExecStart=/usr/lib/nnss/tunsocks.sh "%i" setup
ExecStop=/usr/lib/nnss/tunsocks.sh "%i" cleanup
[Install]
WantedBy=multi-user.target