Skip to content

Commit

Permalink
Add note about network interfaces (#2285)
Browse files Browse the repository at this point in the history
  • Loading branch information
leslitagordita authored and cwlinode committed Jan 29, 2019
1 parent 76e5d21 commit 799ddcb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/networking/vpn/set-up-a-hardened-openvpn-server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: 'Learn how to securely tunnel your traffic with OpenVPN and OpenSSL
keywords: ["openvpn", "vpn", "vpn tunnel", "openssl"]
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
aliases: ['networking/vpn/set-up-a-hardened-openvpn-server-on-debian-8/']
modified: 2017-09-26
modified: 2019-01-29
modified_by:
name: Linode
published: 2015-12-09
Expand Down Expand Up @@ -72,6 +72,14 @@ This series assumes your VPN will operate over IPv4 only. If you instead wish to

4. Add IPv4 rules: `iptables-persistent` stores its rulesets in the files `/etc/iptables/rules.v4` and `/etc/iptables/rules.v6`. Open the `rules.v4` file and replace everything in it with the information below:

{{< note >}}
By default, Linode distribution images are built with network interfaces renamed to `eth0`. If you are using a custom distribution, verify the name of your network interface, first:

ip link show

Replace any instances of `eth0` with the name of your network interface.
{{</ note >}}

{{< file "/etc/iptables/rules.v4" >}}
*filter

Expand Down

0 comments on commit 799ddcb

Please sign in to comment.