You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
346 B
14 lines
346 B
4 years ago
|
# /etc/systemd/system/baidu_proxy.service
|
||
|
[Unit]
|
||
|
Description=use ssh for remote port redirection.
|
||
|
After=syslog.target network.target
|
||
|
Wants=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=/usr/local/baiduproxy
|
||
|
ExecStart=/usr/bin/autossh -M 0 -NR 0.0.0.0:7999:localhost:7999 -i id_rsa 192.168.55.218
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|