Voici différentes commandes Netsh concernant windows Vista/Seven
Voici les commandes pour Seven (extrait doc technique Microsoft)
The following commands are available:
Commands in this context:
.. – Goes up one context level.
? – Displays a list of commands.
abort – Discards changes made while in offline mode.
add – Adds a configuration entry to a list of entries.
advfirewall – Changes to the `netsh advfirewall’ context.
alias – Adds an alias.
branchcache – Changes to the `netsh branchcache’ context.
bridge – Changes to the `netsh bridge’ context.
bye – Exits the program.
commit – Commits changes made while in offline mode.
delete – Deletes a configuration entry from a list of entries.
dhcpclient – Changes to the `netsh dhcpclient’ context.
dnsclient – Changes to the `netsh dnsclient’ context.
dump – Displays a configuration script.
exec – Runs a script file.
exit – Exits the program.
firewall – Changes to the `netsh firewall’ context.
help – Displays a list of commands.
http – Changes to the `netsh http’ context.
interface – Changes to the `netsh interface’ context.
ipsec – Changes to the `netsh ipsec’ context.
lan – Changes to the `netsh lan’ context.
mbn – Changes to the `netsh mbn’ context.
namespace – Changes to the `netsh namespace’ context.
nap – Changes to the `netsh nap’ context.
netio – Changes to the `netsh netio’ context.
offline – Sets the current mode to offline.
online – Sets the current mode to online.
p2p – Changes to the `netsh p2p’ context.
popd – Pops a context from the stack.
pushd – Pushes current context on stack.
quit – Exits the program.
ras – Changes to the `netsh ras’ context.
rpc – Changes to the `netsh rpc’ context.
set – Updates configuration settings.
show – Displays information.
trace – Changes to the `netsh trace’ context.
unalias – Deletes an alias.
wcn – Changes to the `netsh wcn’ context.
wfp – Changes to the `netsh wfp’ context.
winhttp – Changes to the `netsh winhttp’ context.
winsock – Changes to the `netsh winsock’ context.
wlan – Changes to the `netsh wlan’ context.
Voici deux commandes pratiques afin d’activer et de désactiver le firewall Windows Seven
Ouvrez une invite de commandes Administrateur. Cliquez sur Démarrer, Tous les programmes,Accessoires, cliquez avec le bouton droit sur Invite de commandes, puis cliquez sur Exécuter en tant qu’administrateur.
1°) Créer un raccourci pour désactiver le pare-feu
Dans la fenêtre de création du raccourci, saisissez cette ligne de commande pour désactiver le pare-feu :
netsh firewall set opmode disable
2°) Raccourci pour activer le pare-feu
Réitérez le processus décrit ci-dessous en saisissant cette ligne de commande pour (ré)-activer le pare-feu :
netsh firewall set opmode enable
3°) Configurer une règle de pare-feu entrante pour autoriser les connexions FTP entrantes uniquement sur les ports que le service FTP écoute
- Exécutez la commande suivante :
netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in
- Enfin, désactivez le filtrage FTP d’état pour que le pare-feu ne bloque pas le trafic FTP.
netsh advfirewall set global StatefulFTP disable
[widgets_on_pages id= »Inscription »] [widgets_on_pages id=2]
Hello there, I found your web site via Google at the same time as
searching for a similar topic, your website came up, it appears
to be like good. I have bookmarked it in my google bookmarks.
Hi there, just became aware of your blog
through Google, and found that it’s really informative. I’m going to be careful for brussels. I will be grateful in the event you continue this in future. Lots of other people might be benefited from your writing. Cheers!
Hi colleagues, pleasant paragraph and nice arguments commented at this place, I am truly enjoying by these.
Hi, i read your blog occasionally and i own
a similar one and i was just curious if you get a lot of spam responses?
If so how do you prevent it, any plugin or anything you can recommend?
I get so much lately it’s driving me mad so any support is very much appreciated.
Nice post. I was checking continuously this weblog and I’m inspired! Very useful information specifically the last part 🙂 I maintain such information much. I used to be seeking this particular information for a very long time. Thank you and good luck.
Hurrah, that’s what I was looking for, what a material! existing here at this webpage, thanks admin of this web site.
Wonderful work! This is the type of information that should be shared around the net.
Disgrace on Google for not positioning this publish higher!
Come on over and discuss with my website . Thanks =)
Awesome issues here. I’m very happy to see your article. Thank you so much and I am looking forward to touch you. Will you please drop me a e-mail?
I have been surfing on-line greater than 3 hours these days, yet I never discovered any interesting article like yours. It’s pretty worth sufficient for me. In my view, if all webmasters and bloggers made good content material as you did, the net will probably be a lot more helpful than ever before.
Me ha entretenido mucho esta informacion sobre Wolfgang .