Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
web
Commits
03cc5c82
Commit
03cc5c82
authored
Dec 03, 2020
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tidy up older posts
parent
2a1878bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
_posts/2015-09-06-jekyll.md
_posts/2015-09-06-jekyll.md
+2
-2
_posts/2018-06-24-alien-itches.md
_posts/2018-06-24-alien-itches.md
+6
-5
_posts/2019-06-30-poking-pi.md
_posts/2019-06-30-poking-pi.md
+1
-0
_posts/2020-12-03-poking-pi-ii.md
_posts/2020-12-03-poking-pi-ii.md
+6
-4
No files found.
_posts/2015-09-06-jekyll.md
View file @
03cc5c82
...
...
@@ -25,11 +25,11 @@ when it comes to expanding. Not that Jekyll is all that convenient either.
3.
You have to rely on external providers for comment support. Maybe Disqus, or
Facebook, or something else.
But...
But...
1.
Markdown is fun to write in. It is clear, logical and the source is easy to
read.
2.
Jekyll seems to do a good job of templating, without too much boilerplate.
2.
Jekyll seems to do a good job of templating, without too much boilerplate.
3.
Having things like code highlighting taken care of is quite convenient.
Setting up Jekyll is quite easy - the site has good instructions. I'll just
...
...
_posts/2018-06-24-alien-itches.md
View file @
03cc5c82
---
layout
:
post
title
:
Arch on Alienware - scratching itches
title
:
'
Arch
on
Alienware:
Part
II'
subtitle
:
Scratching itches
tags
:
[
tech
,
linux
]
---
...
...
@@ -8,17 +9,17 @@ So, it's been [half a year since][alien] I got the Alienware Aurora R7, and I
have had my fair share of bugs and annoyances. Today, I'll talk about a few of
those.
<!-- section -->
<aside
markdown=
"1"
>
> Every good work of software starts by scratching a developer's personal itch.
[
*The Cathedral and the Bazaar*
][
esr
]
, Eric S. Raymond.
—
[
*The Cathedral and the Bazaar*
][
esr
]
,
Eric S. Raymond.
</aside>
<!-- section -->
# Shutting down
The Alienware series apparently has a fairly common issue of panicking on
...
...
_posts/2019-06-30-poking-pi.md
View file @
03cc5c82
---
layout
:
post
title
:
'
Poking
around
a
Pi:
Part
I'
subtitle
:
Initial setup
tags
:
[
tech
,
linux
]
description
:
Experiences with a Raspberry Pi 3B
---
...
...
_posts/2020-12-03-poking-pi-ii.md
View file @
03cc5c82
---
layout
:
post
title
:
'
Poking
around
a
Pi,
Part
II:
VPNs
and
Network
Namespaces'
title
:
'
Poking
around
a
Pi:
Part
II'
subtitle
:
'
VPNs
and
Network
Namespaces'
tags
:
[
tech
,
linux
]
description
:
Using a VPN only for a select group of applications
...
...
@@ -71,7 +72,7 @@ What do these commands do? Let's examine them block by block.
1.
Set up the namespace and enter it:
```
```
sh
NS_NAME=vpn
ip netns add "$NS_NAME"
ip netns exec "$SHELL"
...
...
@@ -112,7 +113,7 @@ What do these commands do? Let's examine them block by block.
6.
Enable IPv4 forwarding using
`sysctl`
```
s
udo s
ysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv4.ip_forward=1
```
Then run OpenVPN in this network namespace (for example, by running the
`openvpn`
command itself here, or by using
...
...
@@ -175,10 +176,11 @@ OpenVPN client.
A similar drop-in override can be used for other services (e.g., Kodi or a desktop session).
**Note:**
t
his doesn't protect against the VPN dying and leaving your services directly connected via your network. I
T
his doesn't protect against the VPN dying and leaving your services directly connected via your network. I
think that can be bluntly handled by having an
`ExecStopPost`
for the OpenVPN client which removes the default route
altogether (and correspondingly have an
`ExecStartPre`
set up the default route instead of setting it in the one-shot
service).
{: .danger}
[
tb-linux
]:
https://www.tunnelbear.com/blog/linux_support/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment