Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173519
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Karl E. Jorgensen" <karl@jorgensen.org.uk> |
| Newsgroups | linux.debian.user |
| Subject | Re: systemd - how to run system service by user target |
| Date | Mon, 17 Oct 2016 12:30:01 +0200 |
| Message-ID | <stdl7-2ek-29@gated-at.bofh.it> (permalink) |
| References | <stbt0-12r-31@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Mon Oct 17 10:27:09 2016 |
| Old-Return-Path | <karl@jorgensen.org.uk> |
| X-Amavis-Spam-Status | No, score=-4.569 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_BRBL_LASTEXT=1.449, RDNS_DYNAMIC=0.982] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| X-Greylist | delayed 2080 seconds by postgrey-1.35 at bendel; Mon, 17 Oct 2016 10:11:08 UTC |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | 82.34.245.5 |
| X-Sa-Exim-Mail-From | karl@jorgensen.org.uk |
| X-Sa-Exim-Version | 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) |
| X-Sa-Exim-Scanned | Yes (on jorgensen.org.uk) |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/713066 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/20161017093713.GA12793@xps.home.jorgensen.org.uk |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 17 Oct 2016 10:37:14 +0100 |
| X-Original-Message-ID | <20161017093713.GA12793@xps.home.jorgensen.org.uk> |
| X-Original-References | <87eg3fpfnt.fsf@alfa.kjonca> |
| Xref | csiph.com linux.debian.user:173519 |
Show key headers only | View raw
Hi On Mon, Oct 17, 2016 at 10:01:58AM +0200, Kamil Jońca wrote: > > Assume we have openvpn.service. > This service neccessary only when I want to connect to my work from > home. > > Is it possible to make user target which will be automatically run this > service? > KJ > It probably is. I had the same problem - a "vpn to home" that doesn't need to run when at home. My solution: Firewalling rules on the server-side endpoint, that rejects VPN connections from inside the network. Thus, my openvpn service on my laptop can run constantly, but the VPN will only actually connect when I'm _not_ at home. Hope this helps -- Karl E. Jorgensen (also KJ)
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
systemd - how to run system service by user target kjonca@poczta.onet.pl (Kamil Jońca) - 2016-10-17 10:30 +0200 Re: systemd - how to run system service by user target "Karl E. Jorgensen" <karl@jorgensen.org.uk> - 2016-10-17 12:30 +0200
csiph-web