Easily share a VPN connection with your virtual machines or containers with this script. Works with IPsec VPN connections (like strongSwan), and lets your VMs reuse the VPN connection of your host system. Create a desktop launcher to start the VPN connection sharing script whenever you need it.

Features

  • Automatically adds/removes SNAT rules to share your VPN connection with VMs.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow VPN Connection Sharing

VPN Connection Sharing Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free

Additional Project Details

Operating Systems

Linux

Intended Audience

Advanced End Users, Developers, End Users/Desktop, System Administrators

User Interface

Console/Terminal

Programming Language

Unix Shell

Related Categories

Unix Shell Firewall Software, Unix Shell VPN Software, Unix Shell Virtualization Software

Registered

2026-01-05