[script] improve openport.sh

This commit is contained in:
Mathieu Maret 2016-05-23 15:02:06 +02:00
parent 6403456e35
commit c191e2720f
1 changed files with 23 additions and 14 deletions

View File

@ -1,41 +1,50 @@
bin=/home/mathieu/config/scripts/openPortUpnp
#http #http
/home/mathieu/bin/openPortUpnp 80 TCP ${bin} 80 TCP
sleep 2 sleep 2
#ssh #ssh
/home/mathieu/bin/openPortUpnp 22 TCP ${bin} 22 TCP
sleep 2 sleep 2
#https #https
/home/mathieu/bin/openPortUpnp 443 TCP ${bin} 443 TCP
sleep 2
#pop3-ssl
/home/mathieu/bin/openPortUpnp 995 TCP
sleep 2 sleep 2
#smtp #smtp
/home/mathieu/bin/openPortUpnp 25 TCP ${bin} 587 TCP
sleep 2
#pop3-ssl
${bin} 995 TCP
sleep 2
#smtp
${bin} 25 TCP
sleep 2 sleep 2
#smtp ssl #smtp ssl
/home/mathieu/bin/openPortUpnp 465 TCP ${bin} 465 TCP
sleep 2 sleep 2
#imap-ssl #imap-ssl
/home/mathieu/bin/openPortUpnp 993 TCP ${bin} 993 TCP
sleep 2
#imap TLS
${bin} 143 TCP
sleep 2 sleep 2
#subsonic #subsonic
/home/mathieu/bin/openPortUpnp 4040 TCP ${bin} 4040 TCP
sleep 2 sleep 2
#Git #Git
/home/mathieu/bin/openPortUpnp 9418 TCP ${bin} 9418 TCP
sleep 2 sleep 2
#rTorrent #rTorrent
/home/mathieu/bin/openPortUpnp 49164 TCP ${bin} 49164 TCP
sleep 2 sleep 2
/home/mathieu/bin/openPortUpnp 49164 UDP ${bin} 49164 UDP
sleep 2 sleep 2