summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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