Spaces:
Sleeping
Sleeping
File size: 2,151 Bytes
f45d6ac 3041f43 04f22f2 3041f43 |
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
---
title: "OpenVPN Configuration Manager"
emoji: "π"
colorFrom: "blue"
colorTo: "green"
sdk: "docker"
sdk_version: "20.10.17"
app_port: 7860
app_file: "app.py"
pinned: false
license: "mit"
---
# OpenVPN Configuration Manager
## Overview
This is a **fixed version** of the OpenVPN Hugging Face Space that works around container limitations while providing valuable OpenVPN configuration management.
## Key Features
β
**Container-Compatible** - No TUN device requirements
β
**Configuration Generation** - Create server and client configs
β
**Certificate Scripts** - Generate SSL certificates
β
**Firewall Rules** - Automatic iptables configuration
β
**Complete Package** - Download all files as ZIP
β
**Deployment Guide** - Step-by-step instructions
## What This Fixes
The original space failed with:
```
mknod: /dev/net/tun: Operation not permitted
```
This version **avoids the TUN device issue** by providing:
- Configuration file generation instead of direct VPN operation
- Scripts for certificate creation (run on proper servers)
- Deployment guides for production environments
## Usage
1. **Generate Configurations** - Create OpenVPN config files
2. **Security Setup** - Get certificate and firewall scripts
3. **Download Package** - Get all files in one ZIP
4. **Follow Guide** - Deploy on proper server infrastructure
## Production Deployment
For actual VPN functionality, deploy the generated configurations on:
- Linux servers with TUN support
- Proper network configuration
- Root/sudo access
- CAP_NET_ADMIN capability
## Technical Details
- **Python 3.10** based
- **Gradio** web interface
- **No container privileges** required
- **Zero TUN dependencies**
- **Configuration-focused** approach
## Files Generated
- `server.conf` - Server configuration
- `client.conf` - Client configuration
- `generate_certs.sh` - Certificate generation
- `firewall_rules.sh` - Firewall setup
- `DEPLOYMENT_GUIDE.md` - Complete instructions
---
**Note**: This tool generates configurations for deployment on proper VPN servers. The actual VPN functionality requires infrastructure with appropriate network capabilities. |