summaryrefslogtreecommitdiffstats
path: root/content/posts/openbsd-vpn-gateway/index.org
diff options
context:
space:
mode:
authorDante Catalfamo2020-07-15 13:07:11 -0400
committerDante Catalfamo2020-07-15 13:07:11 -0400
commit6191ffc8a592ad8e71fa9164f382e0ad7496aff3 (patch)
treefda9d06dc946c985ef6fd923b670f4738bccc82b /content/posts/openbsd-vpn-gateway/index.org
parentc08877099324114f8aa4c42006b55ae3021ded22 (diff)
downloadblog-6191ffc8a592ad8e71fa9164f382e0ad7496aff3.tar.gz
blog-6191ffc8a592ad8e71fa9164f382e0ad7496aff3.tar.bz2
blog-6191ffc8a592ad8e71fa9164f382e0ad7496aff3.zip
gateway: add ifconfig example output
Diffstat (limited to 'content/posts/openbsd-vpn-gateway/index.org')
-rw-r--r--content/posts/openbsd-vpn-gateway/index.org17
1 files changed, 16 insertions, 1 deletions
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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