update
This commit is contained in:
parent
1de9fe8a99
commit
c05bae722b
|
|
@ -8,3 +8,10 @@ systemctl --user start proxy@red
|
|||
`~/.ssh/config` is where the proxy configs are stored.
|
||||
|
||||
`Conflicts=` is where to add new proxies to make them mutually exclusive.
|
||||
|
||||
## socks-red.service
|
||||
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now socks-red.service
|
||||
|
||||
This opens a SOCKS proxy on `127.0.0.1:1188` using `ray@red.isnet.uk`.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=SOCKS Proxy (red.isnet.uk:1188)
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ssh -N -D 1188 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes ray@red.isnet.uk
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Reference in New Issue