initial commit

This commit is contained in:
postscriptum 2025-09-11 12:43:12 +03:00
commit 259fee630b
127 changed files with 7811 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Route outgoing connections to the VPN interface
Draft.
## OpenVPN
``` bash
apt install openvpn
```
## UFW
``` bash
ufw default deny outgoing
ufw allow out to VPN_IP proto udp
ufw allow out on tun0
```
* IP/udp - VPN host/protocol
* tun0 - valid local interface name
## Connect
``` bash
openvpn --config /etc/openvpn/client/config.ovpn
```
* provide auth-user-pass filepath (if required)
## Test
``` bash
host myip.opendns.com resolver1.opendns.com
```