Sample mactunnel.conf

; ************************************************************
; * Global options                                           *
; ************************************************************

;iconActive = active.png
;iconIdle = idle.png
;iconError = error.png

; ************************************************************
; * SSL access to a local SMTP server                       *
; ************************************************************

;[my-smtp]
; Ignore client certificates
;verify = no
; Server certificate stored in the MacOS X keychain
;cert = macserver.example.com
;accept = 465
;connect = 25

; ************************************************************
; * SSL client presenting a certificate to the server        *
; ************************************************************

;[client_service]
;client = yes
; Client certificate stored in the MacOS X keychain
;cert = john@example.com
; Do not authenticate the server
;verify = no
;accept = 127.0.0.1:22222
;connect = www.example.com:33333

; ************************************************************
; * Access Gmail with a client without SSL/TLS support       *
; ************************************************************

[gmail-pop3]
client = yes
accept = 127.0.0.1:8110
connect = pop.gmail.com:995

[gmail-imap]
client = yes
accept = 127.0.0.1:8143
connect = imap.gmail.com:993

[gmail-smtp]
client = yes
accept = 127.0.0.1:8025
connect = smtp.gmail.com:465