Kali/OpenVPN: Difference between revisions
From charlesreid1
| Line 1: | Line 1: | ||
Page with instructions on how to install/configure OpenVPN on Kali Linux | Page with instructions on how to install/configure OpenVPN on Kali Linux | ||
= | =Overview= | ||
This page covers how to install and configure OpenVPN on Kali Linux. There are a few scenarios we cover. | |||
==Install== | |||
Follow instructions provided by OpenVPN to install: | Follow instructions provided by OpenVPN to install: | ||
| Line 21: | Line 25: | ||
It will then install some stuff, so grab a beverage. | It will then install some stuff, so grab a beverage. | ||
==Tunnel Interface== | |||
OpenVPN should have created a tun0 interface. Verify this is the case and get its IP address: | |||
<pre> | |||
$ ifconfig tun0 | grep inet | |||
inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1 | |||
</pre> | |||
=Flags= | =Flags= | ||
Revision as of 23:39, 1 December 2019
Page with instructions on how to install/configure OpenVPN on Kali Linux
Overview
This page covers how to install and configure OpenVPN on Kali Linux. There are a few scenarios we cover.
Install
Follow instructions provided by OpenVPN to install:
wget https://git.io/vpn -O openvpn-install.sh chmod 755 openvpn-install.sh sudo ./openvpn-install.sh
This script will ask you a few questions:
- Which IPv4 address the OpenVPN server should bind to (depends on situation/goals)
- Setting public IPv4 address (should be detected automatically)
- Which protocol, UDP or TCP? (UDP default)
- Port number to use
- DNS server to use
- Client certificate name to use
It will then install some stuff, so grab a beverage.
Tunnel Interface
OpenVPN should have created a tun0 interface. Verify this is the case and get its IP address:
$ ifconfig tun0 | grep inet
inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1
Flags
| OpenVPN a tool for creating and connecting to virtual private networks.
Creating a Static Key VPN: OpenVPN/Static Key Configuring Your DNS: DNS
|