From 6191ffc8a592ad8e71fa9164f382e0ad7496aff3 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Wed, 15 Jul 2020 13:07:11 -0400 Subject: gateway: add ifconfig example output --- content/posts/openbsd-vpn-gateway/index.org | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'content') diff --git a/content/posts/openbsd-vpn-gateway/index.org b/content/posts/openbsd-vpn-gateway/index.org index f1f8305..e750209 100644 --- a/content/posts/openbsd-vpn-gateway/index.org +++ b/content/posts/openbsd-vpn-gateway/index.org @@ -93,9 +93,24 @@ dosa sh /etc/netstat vio0 #+END_SRC - Now if we check =ifconfig=, we should see the interface has the + Now if we check [[http://man.openbsd.org/man8/ifconfig.8][=ifconfig(8)=]], we should see the interface has the correct IP. + #+BEGIN_SRC shell + ifconfig vio0 + #+END_SRC + + #+RESULTS: + : vio0: flags=8843 mtu 1500 + : lladdr AA:BB:CC:DD:EE:FF + : index 1 priority 0 llprio 3 + : groups: egress + : media: Ethernet autoselect + : status: active + : inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255 + + + * Configuring OpenVPN First we have to install [[https://openvpn.net/][OpenVPN]], which is provided by the OpenBSD -- cgit v1.2.3