-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Description
e.g. this works for me on Debian
microsocks.service
[Unit]
Description=microsocks is a tiny SOCKS5 server
Documentation=https://github.com/rofl0r/microsocks
After=network.target auditd.service
[Service]
EnvironmentFile=/etc/microsocks.conf
ExecStart=/usr/bin/microsocks -u ${MICROSOCKS_LOGIN} -P ${MICROSOCKS_PASSW}
[Install]
WantedBy=multi-user.target
/etc/microsocks.conf
# used by the systemd service file
MICROSOCKS_LOGIN="foo"
MICROSOCKS_PASSW="bar"
It's a bit simple, and could be expanded by improving security (chroot, user=nobody, logging, whatever) but it just works.
alscaldas, zouchengli, Bedz01 and Cz1544252489
Metadata
Metadata
Assignees
Labels
No labels