~dricottone/my-utils

ref: 6f0bf4a305d99569b0c27242bf6a5469d5ab5b43 my-utils/network/README.md -rw-r--r-- 1.3 KiB
6f0bf4a3Dominic Ricottone whichcat now respects the quiet option 2 years 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