Skip to content

Instantly share code, notes, and snippets.

View mj163163's full-sized avatar

Wenjun Fan mj163163

  • Johns Hopkins University
  • Baltimore
View GitHub Profile
@mj163163
mj163163 / frpc.service
Created July 16, 2021 18:21 — forked from imyelo/frpc.service
run frp client as a service on windows and ubuntu / debian
# 1. put frpc and frpc.ini under /usr/local/frpc/
# 2. put this file (frpc.service) at /etc/systemd/system
# 3. run `sudo systemctl daemon-reload && sudo systemctl enable frpc && sudo systemctl start frpc`
# Then we can manage frpc with `sudo service frpc {start|stop|restart|status}`
# See also: https://nosame.net/use-frp-to-reverse-proxy-your-nas/
# Alternative for server:
# - Offical: https://github.com/fatedier/frp/blob/a4cfab6/conf/systemd/frpc%40.service
[Unit]