mirror of
https://github.com/balkian/balkian.github.com.git
synced 2024-12-25 17:58:12 +00:00
rebuilding site Tue 19 Jan 2021 12:38:54 CET
This commit is contained in:
parent
852756ddfb
commit
a47c982445
@ -167,17 +167,34 @@ You can revert this setting in your logind.conf (<code>/etc/systemd/logind.conf<
|
|||||||
<h1 id="upload-a-temporary-file">Upload a temporary file</h1>
|
<h1 id="upload-a-temporary-file">Upload a temporary file</h1>
|
||||||
<p>Sometimes you just need to copy/paste a file from a server, and copying from the terminal can be a hassle.
|
<p>Sometimes you just need to copy/paste a file from a server, and copying from the terminal can be a hassle.
|
||||||
These two services are command-line “pastebins” just one curl away:</p>
|
These two services are command-line “pastebins” just one curl away:</p>
|
||||||
<pre><code><command> | curl -F 'sprunge=<-' http://sprunge.us
|
<div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||||
# OR
|
<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;">
|
||||||
<command> 2>&1 | curl -F 'f:1=<-' ix.io
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1
|
||||||
</code></pre><h1 id="install-fortinet-sslvpn-support-for-networkmanager">Install Fortinet SSLVPN support for NetworkManager</h1>
|
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2
|
||||||
|
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3
|
||||||
|
</span></code></pre></td>
|
||||||
|
<td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%">
|
||||||
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><command> | curl -F <span style="color:#e6db74">'sprunge=<-'</span> http://sprunge.us
|
||||||
|
<span style="color:#75715e"># OR</span>
|
||||||
|
<command> 2>&<span style="color:#ae81ff">1</span> | curl -F <span style="color:#e6db74">'f:1=<-'</span> ix.io
|
||||||
|
</code></pre></td></tr></table>
|
||||||
|
</div>
|
||||||
|
</div><h1 id="install-fortinet-sslvpn-support-for-networkmanager">Install Fortinet SSLVPN support for NetworkManager</h1>
|
||||||
<p>UPM (Universidad Politécnica de Madrid) uses a propriatary VPN solution.
|
<p>UPM (Universidad Politécnica de Madrid) uses a propriatary VPN solution.
|
||||||
The instructions for GNU/Linux on their website involve downloading a specific client (<code>.tar.gz</code>) and manually running it.
|
The instructions for GNU/Linux on their website involve downloading a specific client (<code>.tar.gz</code>) and manually running it.
|
||||||
That works, but it is kind of a hassle.
|
That works, but it is kind of a hassle.
|
||||||
A much more convenient alternative is installing this NetworkManager plugin:</p>
|
A much more convenient alternative is installing this NetworkManager plugin:</p>
|
||||||
<pre><code>pacman -Sy networkmanager-fortisslvpn
|
<div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||||
# Or apt get install networkmanager-fortisslvpn
|
<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;">
|
||||||
</code></pre><p>Now you can simply add a new VPN connection in NetworkManager and manage it as you would any other connection.</p>
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1
|
||||||
|
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2
|
||||||
|
</span></code></pre></td>
|
||||||
|
<td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%">
|
||||||
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">pacman -Sy networkmanager-fortisslvpn
|
||||||
|
<span style="color:#75715e"># Or apt get install networkmanager-fortisslvpn </span>
|
||||||
|
</code></pre></td></tr></table>
|
||||||
|
</div>
|
||||||
|
</div><p>Now you can simply add a new VPN connection in NetworkManager and manage it as you would any other connection.</p>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user