An open API service indexing awesome lists of open source software.

https://github.com/flaykky/vpn-core


https://github.com/flaykky/vpn-core

openvpn shadowsocks tcp udp vpn wireguard wireguard-vpn

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Simple VPN Client in C [UNSOPPORTED]

A minimalistic VPN client for private use.

## Features
- Basic TCP&UDP tunneling
- Connect with HTTPS proxies
- Cross-platform support (Windows/Linux)
- obfuscation
- Shadowsocks protocol support
- PFS support
- WireGuard protocol support
- smart defence against DPI (comming soon)

## Requirements
- CMake 3.10+
- C compiler (GCC, Clang, MSVC)
- OpenSSL
- pthreads (for windows)
- getopt.h (for windows)
- WireGuard-nt
- cJSON
- ShadowSocks-libev
- OpenVPN

## installation
```bash
git clone https://github.com/Flaykky/vpn-core
cd vpn-core
```

## Basic WireGuard tunneling
```bash
./vpnCore WireGuard 1.1.1.1:51820 login:pass
```

## Connect through proxy
```bash
./vpnCore --proxy=socks5 tcp 1.1.1.1:443
```

## Json config file template
```json
{
"protocol": "wireguard",
"server_ip": "1.1.1.1",
"server_port": 51820,
"wireguard_private_key": "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIg2fZOk7hKQ=",
"wireguard_public_key": "xTIBA5rboUvnH4htodDoEj3WZ+barGBCQHbR47hTHA="
}
```

## Help information
```bash
./VpnCore help
```

## Windows build
```bash
mkdir build
cd build
cmake ..
cmake --build .
```
## LICENSE

Distributed under the MIT License. See [LICENSE](LICENSE) file for details.