Windows XP batch file to block all incoming and outgoing traffic [closed]Firewalling all incoming traffic with custom rulesiptables rule to block incoming/outgoing traffic to a Xen containerUFW/IPTables: after setting default outgoing deny, and port 80 outgoing allow, curl still doesn't workWhat does “incoming” and “outgoing” traffic mean?Security risks of allowing incoming traffic as a response of a previous requestiptables - Block incoming on Eth1 and Allow All from eth0Configure Windows Firewall to block all except for specific trafficblock all packets in windows 7 (so nothing appears in wireshark)? Can anything locally installed do it?ip6tables blocking outgoing+incoming connections

Does a bank have to tell me if a check made out to me was cashed there?

Amplitude of a crest and trough in a sound wave?

Does putting salt first make it easier for attacker to bruteforce the hash?

Is it possible to fly backward if you have really strong headwind?

What aircraft was used as Air Force One for the flight between Southampton and Shannon?

Confused with atmospheric pressure equals plastic balloon’s inner pressure

A word that means "blending into a community too much"

How do i export activities related to an account with a specific recordtype?

Derivative of a double integral over a circular region

What STL algorithm can determine if exactly one item in a container satisfies a predicate?

The usage of kelvin in formulas

Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?

What differences exist between adamantine and adamantite in all editions of D&D?

60s or 70s novel about Empire of Man making 1st contact with 1st discovered alien race

The origin of the Russian proverb about two hares

If there's something that implicates the president why is there then a national security issue? (John Dowd)

How do free-speech protections in the United States apply in public to corporate misrepresentations?

Printing Pascal’s triangle for n number of rows in Python

tabular: caption and align problem

What is this Amiga 1200 mod?

Please figure out this Pan digital Prince

What are the implications when matrix's lowest eigenvalue is equal to 0?

Electricity free spaceship

Are polynomials with the same roots identical?



Windows XP batch file to block all incoming and outgoing traffic [closed]


Firewalling all incoming traffic with custom rulesiptables rule to block incoming/outgoing traffic to a Xen containerUFW/IPTables: after setting default outgoing deny, and port 80 outgoing allow, curl still doesn't workWhat does “incoming” and “outgoing” traffic mean?Security risks of allowing incoming traffic as a response of a previous requestiptables - Block incoming on Eth1 and Allow All from eth0Configure Windows Firewall to block all except for specific trafficblock all packets in windows 7 (so nothing appears in wireshark)? Can anything locally installed do it?ip6tables blocking outgoing+incoming connections






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Is it possible to block all incoming and outgoing traffic on a Windows XP host via batch file?



Bonus question, I only want to allow 1 outgoing port and all traffic going over that port.










share|improve this question













closed as off-topic by Gerald Schneider, Thomas, Greg Askew, Ward May 27 at 15:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Gerald Schneider, Thomas, Greg Askew, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

    – Ben Campbell
    Nov 30 '11 at 22:21

















0















Is it possible to block all incoming and outgoing traffic on a Windows XP host via batch file?



Bonus question, I only want to allow 1 outgoing port and all traffic going over that port.










share|improve this question













closed as off-topic by Gerald Schneider, Thomas, Greg Askew, Ward May 27 at 15:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Gerald Schneider, Thomas, Greg Askew, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

    – Ben Campbell
    Nov 30 '11 at 22:21













0












0








0








Is it possible to block all incoming and outgoing traffic on a Windows XP host via batch file?



Bonus question, I only want to allow 1 outgoing port and all traffic going over that port.










share|improve this question














Is it possible to block all incoming and outgoing traffic on a Windows XP host via batch file?



Bonus question, I only want to allow 1 outgoing port and all traffic going over that port.







windows networking firewall command-line-interface batch






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 30 '11 at 10:29









TnkflxTnkflx

11




11




closed as off-topic by Gerald Schneider, Thomas, Greg Askew, Ward May 27 at 15:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Gerald Schneider, Thomas, Greg Askew, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Gerald Schneider, Thomas, Greg Askew, Ward May 27 at 15:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Gerald Schneider, Thomas, Greg Askew, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1





    Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

    – Ben Campbell
    Nov 30 '11 at 22:21












  • 1





    Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

    – Ben Campbell
    Nov 30 '11 at 22:21







1




1





Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

– Ben Campbell
Nov 30 '11 at 22:21





Clarify the "bonus question". Do you mean you want the machine to act as normal and make all normal traffic use a single port?!

– Ben Campbell
Nov 30 '11 at 22:21










5 Answers
5






active

oldest

votes


















1














You can set it using group policy instead of a batch file.






share|improve this answer























  • It's a standalone machine, no group policy.

    – Tnkflx
    Nov 30 '11 at 16:26


















1














Use netsh advfirewall firewall command to configure windows firewall.
See http://technet.microsoft.com/en-us/library/dd734783.aspx#BKMK_3_add for details.






share|improve this answer






























    0














    Even if there would be such a command (and there isn't), then you can't block outgoing traffic, as only the newer Windows versions have outgoing firewall support. Use a recent version of Windows.






    share|improve this answer






























      0














      The only method that occurs to me directly via bat file is using netsh commands to severely restrict the internal network settings... filtering and such. I'm still not convinced this will work the way you want. I'm not sure why you would use a bat file method when you could just use a software firewall and just whitelist the traffic as you see fit. However, you may be able to enable or disable a firewall configuration with a bat file that could have the desired effect.






      share|improve this answer
































        -1














        netsh advfirewall firewall add rule name="BlockPort01" protocol=TCP dir=out remoteport=01 action=block





        share|improve this answer

























        • Could you please describe your answer

          – Sergey Nudnov
          May 27 at 8:23

















        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        You can set it using group policy instead of a batch file.






        share|improve this answer























        • It's a standalone machine, no group policy.

          – Tnkflx
          Nov 30 '11 at 16:26















        1














        You can set it using group policy instead of a batch file.






        share|improve this answer























        • It's a standalone machine, no group policy.

          – Tnkflx
          Nov 30 '11 at 16:26













        1












        1








        1







        You can set it using group policy instead of a batch file.






        share|improve this answer













        You can set it using group policy instead of a batch file.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 30 '11 at 13:14









        JamesRyanJamesRyan

        7,78322036




        7,78322036












        • It's a standalone machine, no group policy.

          – Tnkflx
          Nov 30 '11 at 16:26

















        • It's a standalone machine, no group policy.

          – Tnkflx
          Nov 30 '11 at 16:26
















        It's a standalone machine, no group policy.

        – Tnkflx
        Nov 30 '11 at 16:26





        It's a standalone machine, no group policy.

        – Tnkflx
        Nov 30 '11 at 16:26













        1














        Use netsh advfirewall firewall command to configure windows firewall.
        See http://technet.microsoft.com/en-us/library/dd734783.aspx#BKMK_3_add for details.






        share|improve this answer



























          1














          Use netsh advfirewall firewall command to configure windows firewall.
          See http://technet.microsoft.com/en-us/library/dd734783.aspx#BKMK_3_add for details.






          share|improve this answer

























            1












            1








            1







            Use netsh advfirewall firewall command to configure windows firewall.
            See http://technet.microsoft.com/en-us/library/dd734783.aspx#BKMK_3_add for details.






            share|improve this answer













            Use netsh advfirewall firewall command to configure windows firewall.
            See http://technet.microsoft.com/en-us/library/dd734783.aspx#BKMK_3_add for details.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 30 '11 at 22:30









            MatejMatej

            18816




            18816





















                0














                Even if there would be such a command (and there isn't), then you can't block outgoing traffic, as only the newer Windows versions have outgoing firewall support. Use a recent version of Windows.






                share|improve this answer



























                  0














                  Even if there would be such a command (and there isn't), then you can't block outgoing traffic, as only the newer Windows versions have outgoing firewall support. Use a recent version of Windows.






                  share|improve this answer

























                    0












                    0








                    0







                    Even if there would be such a command (and there isn't), then you can't block outgoing traffic, as only the newer Windows versions have outgoing firewall support. Use a recent version of Windows.






                    share|improve this answer













                    Even if there would be such a command (and there isn't), then you can't block outgoing traffic, as only the newer Windows versions have outgoing firewall support. Use a recent version of Windows.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 30 '11 at 22:24









                    mailqmailq

                    15.5k23062




                    15.5k23062





















                        0














                        The only method that occurs to me directly via bat file is using netsh commands to severely restrict the internal network settings... filtering and such. I'm still not convinced this will work the way you want. I'm not sure why you would use a bat file method when you could just use a software firewall and just whitelist the traffic as you see fit. However, you may be able to enable or disable a firewall configuration with a bat file that could have the desired effect.






                        share|improve this answer





























                          0














                          The only method that occurs to me directly via bat file is using netsh commands to severely restrict the internal network settings... filtering and such. I'm still not convinced this will work the way you want. I'm not sure why you would use a bat file method when you could just use a software firewall and just whitelist the traffic as you see fit. However, you may be able to enable or disable a firewall configuration with a bat file that could have the desired effect.






                          share|improve this answer



























                            0












                            0








                            0







                            The only method that occurs to me directly via bat file is using netsh commands to severely restrict the internal network settings... filtering and such. I'm still not convinced this will work the way you want. I'm not sure why you would use a bat file method when you could just use a software firewall and just whitelist the traffic as you see fit. However, you may be able to enable or disable a firewall configuration with a bat file that could have the desired effect.






                            share|improve this answer















                            The only method that occurs to me directly via bat file is using netsh commands to severely restrict the internal network settings... filtering and such. I'm still not convinced this will work the way you want. I'm not sure why you would use a bat file method when you could just use a software firewall and just whitelist the traffic as you see fit. However, you may be able to enable or disable a firewall configuration with a bat file that could have the desired effect.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Nov 30 '11 at 22:25

























                            answered Nov 30 '11 at 22:20









                            Ben CampbellBen Campbell

                            532416




                            532416





















                                -1














                                netsh advfirewall firewall add rule name="BlockPort01" protocol=TCP dir=out remoteport=01 action=block





                                share|improve this answer

























                                • Could you please describe your answer

                                  – Sergey Nudnov
                                  May 27 at 8:23















                                -1














                                netsh advfirewall firewall add rule name="BlockPort01" protocol=TCP dir=out remoteport=01 action=block





                                share|improve this answer

























                                • Could you please describe your answer

                                  – Sergey Nudnov
                                  May 27 at 8:23













                                -1












                                -1








                                -1







                                netsh advfirewall firewall add rule name="BlockPort01" protocol=TCP dir=out remoteport=01 action=block





                                share|improve this answer















                                netsh advfirewall firewall add rule name="BlockPort01" protocol=TCP dir=out remoteport=01 action=block






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited May 26 at 15:29









                                Jenny D

                                24.6k126296




                                24.6k126296










                                answered May 26 at 0:19









                                glyn watkinsglyn watkins

                                1




                                1












                                • Could you please describe your answer

                                  – Sergey Nudnov
                                  May 27 at 8:23

















                                • Could you please describe your answer

                                  – Sergey Nudnov
                                  May 27 at 8:23
















                                Could you please describe your answer

                                – Sergey Nudnov
                                May 27 at 8:23





                                Could you please describe your answer

                                – Sergey Nudnov
                                May 27 at 8:23



                                Popular posts from this blog

                                Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                                Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020