config/scripts/openport.sh

51 lines
454 B
Bash
Raw Permalink Normal View History

2016-05-23 15:02:06 +02:00
bin=/home/mathieu/config/scripts/openPortUpnp
2014-03-03 16:20:51 +01:00
#http
2016-05-23 15:02:06 +02:00
${bin} 80 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#ssh
2016-05-23 15:02:06 +02:00
${bin} 22 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#https
2016-05-23 15:02:06 +02:00
${bin} 443 TCP
sleep 2
#smtp
${bin} 587 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#pop3-ssl
2016-05-23 15:02:06 +02:00
${bin} 995 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#smtp
2016-05-23 15:02:06 +02:00
${bin} 25 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#smtp ssl
2016-05-23 15:02:06 +02:00
${bin} 465 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#imap-ssl
2016-05-23 15:02:06 +02:00
${bin} 993 TCP
sleep 2
#imap TLS
${bin} 143 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#subsonic
2016-05-23 15:02:06 +02:00
${bin} 4040 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#Git
2016-05-23 15:02:06 +02:00
${bin} 9418 TCP
2014-03-03 16:20:51 +01:00
sleep 2
#rTorrent
2016-05-23 15:02:06 +02:00
${bin} 49164 TCP
2014-03-03 16:20:51 +01:00
sleep 2
2016-05-23 15:02:06 +02:00
${bin} 49164 UDP
2014-03-03 16:20:51 +01:00
sleep 2