Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ocserv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ enable-auth = "certificate"
#listen-host-is-dyndns = true

# TCP and UDP port number
tcp-port = 4433
udp-port = 4433
tcp-port = 443
udp-port = 443

# Accept connections using a socket file. It accepts HTTP
# connections (i.e., without SSL/TLS unlike its TCP counterpart),
Expand Down Expand Up @@ -138,7 +138,7 @@ max-clients = 200

# Limit the number of identical clients (i.e., users connecting
# multiple times). Unset or set to zero for unlimited.
max-same-clients = 10
max-same-clients = 1

# Limit the number of client connections to one every X milliseconds
# (X is the provided value). Set to zero for no limit.
Expand Down Expand Up @@ -195,8 +195,8 @@ try-mtu-discovery = true
#server-cert = /etc/pki/ocserv/public/server.crt
#server-key = /etc/pki/ocserv/private/server.key

server-cert = /etc/ocserv/server-cert.pem
server-key = /etc/ocserv/server-key.pem
server-cert = /etc/ocserv/fullchain.pem
server-key = /etc/ocserv/privkey.pem

# Diffie-Hellman parameters. Only needed if you require support
# for the DHE ciphersuites (by default this server supports ECDHE).
Expand Down