Skip to content

A set of Docker images of OpenConnect VPN server (ocserv)

Notifications You must be signed in to change notification settings

vnxme/docker-ocserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

docker-ocserv

A set of Docker images of OpenConnect VPN server (ocserv)

Caddy layer4 proxy config

"layer4": {
	"servers": {
		"example": {
			"listen": [":443"],
			"routes": [
				{
					"match": [
						{
							"tls": {"sni": ["ocserv.example.com"]}
						}
					],
					"handle": [
						{
							"handler": "proxy",
							"upstreams": [
								{"dial": ["ocserv.address.local:443"]}
							]
						}
					]
				},
				{
					"match": [
						{
							"not": [
								{
									"tls": {"sni": ["ocserv.example.com"]}
								}
							]
						}
					],
					"handle": [
						{
							"handler": "proxy",
							"upstreams": [
								{"dial": ["localhost:444"]}
							]
						}
					]
				}
			]
		}
	}
},

About

A set of Docker images of OpenConnect VPN server (ocserv)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published