diff --git a/scripts/openport.sh b/scripts/openport.sh index 07a6298..fb2240a 100755 --- a/scripts/openport.sh +++ b/scripts/openport.sh @@ -1,41 +1,50 @@ +bin=/home/mathieu/config/scripts/openPortUpnp #http -/home/mathieu/bin/openPortUpnp 80 TCP +${bin} 80 TCP sleep 2 #ssh -/home/mathieu/bin/openPortUpnp 22 TCP +${bin} 22 TCP sleep 2 #https -/home/mathieu/bin/openPortUpnp 443 TCP -sleep 2 - -#pop3-ssl -/home/mathieu/bin/openPortUpnp 995 TCP +${bin} 443 TCP sleep 2 #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 #smtp ssl -/home/mathieu/bin/openPortUpnp 465 TCP +${bin} 465 TCP sleep 2 #imap-ssl -/home/mathieu/bin/openPortUpnp 993 TCP +${bin} 993 TCP +sleep 2 + +#imap TLS +${bin} 143 TCP sleep 2 #subsonic -/home/mathieu/bin/openPortUpnp 4040 TCP +${bin} 4040 TCP sleep 2 #Git -/home/mathieu/bin/openPortUpnp 9418 TCP +${bin} 9418 TCP sleep 2 #rTorrent -/home/mathieu/bin/openPortUpnp 49164 TCP +${bin} 49164 TCP sleep 2 -/home/mathieu/bin/openPortUpnp 49164 UDP +${bin} 49164 UDP sleep 2