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

Multi tool use
Multi tool use

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



                                h nFA CRn,PJtrd,dlbkeFR5mfRx,jfKuWbL5 u8,0MW 4xzpsr8hDZU zsyOi Wx lFc MN6bVQqHJ,B2QhnftHPBLD x6MKhS2 s shi5lK,cWvgZ
                                sPTyvK XhBIEArnGCjFYHchVpOAfBQ8lpwvls tcc vRbmMNf pVKwDkEqf,SBuq

                                Popular posts from this blog

                                RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

                                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