From 799ddcb36109db3b56228e1e05f1a77d88f91957 Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Tue, 29 Jan 2019 11:01:18 -0500 Subject: [PATCH] Add note about network interfaces (#2285) --- .../vpn/set-up-a-hardened-openvpn-server/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/networking/vpn/set-up-a-hardened-openvpn-server/index.md b/docs/networking/vpn/set-up-a-hardened-openvpn-server/index.md index 19b643ff7d8..21c62c6c4ab 100644 --- a/docs/networking/vpn/set-up-a-hardened-openvpn-server/index.md +++ b/docs/networking/vpn/set-up-a-hardened-openvpn-server/index.md @@ -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 @@ -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. + {{}} + {{< file "/etc/iptables/rules.v4" >}} *filter