Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fedebotu/linux-vpn-split-tunnel
Scripts for enabling custom split tunneling in Linux. No more kick-outs from remote servers when activating your VPN.
https://github.com/fedebotu/linux-vpn-split-tunnel
firewall iptables iptables-firewall openvpn split-tunnel split-tunneling ssh ufw vpn
Last synced: about 2 months ago
JSON representation
Scripts for enabling custom split tunneling in Linux. No more kick-outs from remote servers when activating your VPN.
- Host: GitHub
- URL: https://github.com/fedebotu/linux-vpn-split-tunnel
- Owner: fedebotu
- Created: 2021-06-21T10:02:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T16:54:24.000Z (about 3 years ago)
- Last Synced: 2024-10-24T06:28:56.300Z (2 months ago)
- Topics: firewall, iptables, iptables-firewall, openvpn, split-tunnel, split-tunneling, ssh, ufw, vpn
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔀 Linux VPN Split Tunneling
[![made-with-bash](https://img.shields.io/badge/Made%20with-Bash-1f425f.svg)](https://www.gnu.org/software/bash/)
[![Bash Shell](https://badges.frapsoft.com/bash/v1/bash.png?v=103)](https://github.com/ellerbrock/open-source-badges/)Bash scripts for enabling custom split tunneling for VPNs in Linux.
## ⚙️ Instructions
1. Modify the scripts with your configuration
2. Make the target script executable, e.g. `sudo chmod u+x split-tunnel.sh`
3. Run! E.g. `./split-tunnel.sh`## 🗂 Contents
- `split-tunnel.sh`: allow traffic on specific port with VPN on
- `search-fix-iptables.sh`: fix iptables iteratively by checking if rules are present in the right position
- `vpn-killswitch.sh`: custom killswitch based on `ufw`## 📬 Feedback
If you would like to contribute, do not hesitate to open issues or pull requests!