2006-07-20 07:54:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Nico Schottelius (c) 2001
|
|
|
|
# nico-linux at schottelius dot org
|
|
|
|
# make secure connections to your mail servers
|
|
|
|
# used at conferences / congresses / meetings
|
|
|
|
#
|
|
|
|
|
|
|
|
POP3=110
|
|
|
|
POP3S=995
|
|
|
|
IMAP=143
|
|
|
|
IMAPS=993
|
2008-11-28 11:30:16 +00:00
|
|
|
SMTP=25
|
2006-07-20 07:54:37 +00:00
|
|
|
|
|
|
|
# our secured host
|
2008-07-24 07:32:33 +00:00
|
|
|
HOST="bruehe.schottelius.org"
|
|
|
|
HOST="217.14.64.75"
|
|
|
|
HOST="creme.schottelius.org"
|
|
|
|
HOST="213.146.113.242"
|
2008-11-30 06:56:56 +00:00
|
|
|
HOST="nico@62.65.138.78"
|
2006-10-09 08:50:18 +00:00
|
|
|
HOST="home.schottelius.org"
|
2008-07-24 07:32:33 +00:00
|
|
|
HOST="nico@77.109.138.222"
|
|
|
|
|
2008-11-28 11:30:16 +00:00
|
|
|
ssh -T -f -C -N -L2323:mx3.schottelius.org:$IMAPS "$HOST"
|
2009-08-14 12:04:06 +00:00
|
|
|
ssh -T -f -C -N -L4241:mx3.schottelius.org:$SMTP "$HOST"
|
2008-07-24 07:32:33 +00:00
|
|
|
|
2008-11-28 11:30:16 +00:00
|
|
|
# Fernzugriff
|
|
|
|
ssh -T -f -C -N -R4242:localhost:22 "$HOST"
|
|
|
|
|
2008-11-30 06:56:56 +00:00
|
|
|
#ssh -T -f -C -N -L2342:mx2.schottelius.org:$SMTP 62.65.138.66
|
|
|
|
#ssh -T -f -C -N -L4242:imaps.schottelius.org:$IMAPS "$HOST"
|
2008-11-28 11:30:16 +00:00
|
|
|
#ssh -T -f -C -N -L2323:ddba020.netstream.ch:$POP3S "$HOST"
|
2008-07-24 07:32:33 +00:00
|
|
|
#ssh -T -f -C -N -L2342:ddba020.netstream.ch:$IMAP "$HOST"
|
2008-11-28 11:30:16 +00:00
|
|
|
#ssh -T -f -C -N -L2323:proxy001.exchange.netvs.ch:$IMAP "$HOST"
|
|
|
|
#ssh -T -f -C -N -L4223:ddba020.netstream.ch:$POP3S "$HOST"
|
2006-07-20 07:54:37 +00:00
|
|
|
|
2006-10-09 08:50:18 +00:00
|
|
|
#ssh -T -f -C -N -L2323:smtp.syhosting.ch:$IMAPS "$HOST"
|
|
|
|
#ssh -T -f -C -N -L2342:smtp.syhosting.ch:$POP3S "$HOST"
|
|
|
|
#ssh -T -f -C -N -L4242:home.schottelius.org:$IMAP "$HOST"
|
2006-07-20 07:54:37 +00:00
|
|
|
|
|
|
|
#ssh -T -f -C -N -L4242:mail.schottelius.org:$POP3 "$HOST"
|
|
|
|
#ssh -T -f -C -N -L2323:mail.schottelius.org:25 mail.schottelius.org
|
|
|
|
#ssh -T -f -C -N -L2323:mail.folz.de:110 "$HOST"
|