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.
13 lines
370 B
13 lines
370 B
# /etc/systemd/system/baidu_proxy.service
|
|
[Unit]
|
|
Description=use ssh for remote port redirection.
|
|
After=syslog.target network.target
|
|
Wants=network.target baidu_proxy.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/usr/local/baiduproxy
|
|
ExecStart=/usr/bin/autossh -M 0 -NR 0.0.0.0:7999:localhost:7999 -i id_rsa root@220.182.51.94
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|