java -jar continent.jar vpn
java -jar continent.jar vpn g
You'll get both client and server keys.
Add server key in keys
config section
port: <server port>
tcpNoDelay: true
maxWriteDelayMs: 0
keys:
- "<server key for client 1>"
- "<server key for client 2>"
java -jar continent.jar vpn s server.yaml
Add your IMAP and SMTP servers in portMapping
config section.
Add server to servers
config section
Add client key to keys
config section
port: 1023
servers:
- "encrypted://<server ip>:<server port>"
keyRotationInterval: "3600:7200" #key changed every randomly selected interval between 3600 and 7200 minutes
tcpNoDelay: true
maxWriteDelayMs: 0
key: "<client key>"
portMapping:
1590: "imap.myserver.com:590"
1993: "smtp.myserver.com:993"
java -jar continent.jar vpn c client.yaml
Add to hosts file:
127.0.0.1 imap.myserver.com 127.0.0.1 smtp.myserver.com
IMAP server:
imap.myserver.com:1590
SMTP server:
smtp.myserver.com:1993