~dricottone/my-utils

ref: b26e1a336ce318b7258b95dd238eb7d0801088e8 my-utils/network/README.md -rw-r--r-- 1.3 KiB
b26e1a33Dominic Ricottone git-sparse 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# network utilities

Tools for managing real and virtual networks.


## Specification

Executable|Description                                               |Extra Dependencies
:---------|:---------------------------------------------------------|:-----------------
fw-status |Print current firewall status                             |`ufw`
pingable  |Check if an address/name is ping-able                     |`ping`
vpn-off   |Stop all OpenVPN connections                              |`killall`
vpn-on    |Start an OpenVPN connection using `$MYUTILS_OPENVPN_CONF` |`openvpn`
wg-off    |Stop the `wg0` Wireguard connection                       |`wg`, `wg-quick`
wg-on     |Start the `wg0` Wireguard connection                      |`wg`, `wg-quick`
wg-status |Print current Wireguard connection status                 |`wg`
wg-test   |Check if Wireguard connection is on and working           |`wg`

*All* scripts support `-h` and `--help` for printing built-in documentation.


## To-Do

 + add support for variable `openvpn` configurations, `wg` interface names
 + script for listing, adding wi-fi connections
 + scripts for testing connections at each of the following levels:
   + DNS resolution
   + ping connection
   + HTTP GET connection
   + SSL/TLS certificate validation