Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atpons/octool
OpenConnect Wrapper
https://github.com/atpons/octool
Last synced: about 1 month ago
JSON representation
OpenConnect Wrapper
- Host: GitHub
- URL: https://github.com/atpons/octool
- Owner: atpons
- Created: 2019-07-24T10:27:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T15:33:32.000Z (over 5 years ago)
- Last Synced: 2024-11-30T20:06:46.674Z (about 1 month ago)
- Language: Go
- Size: 1.17 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# octool
OpenConnect Wrapper## Usage
```shell
go run cmd/octool/main.go
```## Requirements
- openconnect
- ocproxyIf you use [atpons/straightforward](https://github.com/atpons/straightforward), set PATH to it.
## Settings
Configuration file path is `~/.octool.toml` is default set. If you want change, set path to env `CONFIG_FILE`.Sample toml:
```toml
[OpenConnect]
Juniper = true # append opts to --juniper
User = "bob" # VPN Login Username
Host = "https://vpn.example.com" # VPN Host[OcProxy]
Port = "9090" # Listen this port by ocproxy and pass traffic over VPN[StraightForward]
Enabled = true # Straightforward is SOCKS over SSH Proxy
Port = "9091" # Listen this port and pass traffic proxy over ocproxy over VPN over SSH server
User = "bob" # SSH Username
Host = "bastion.example.com:22" # SSH host
IdentityFile = "/Users/bob/.ssh/id_rsa" # SSH Key
```