Scimyst
Subscribe
  • Home
  • Discoveries
    • All
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
    • Doomsday
    • Famous Landmarks
    • History
    • Mars Exploration
    • Military Science
    • Oceanography
    • Science Q&A
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
    thanh pho trang 650

    The Lost City of 500 Years Containing Flesh-Eating Parasites

    the ancient buddha statue for women is very beautiful but extremely vivid 119168

    Chilling Ancient Punishments for Women with Beautiful but Bloodied Names

    creating the worlds first plasma lamp not using a wire just throw it away 133669

    Creating the world’s most durable plasma lamp that doesn’t “take a break” after a few days of use

    which country suffers the most natural disasters in the world every year 136695

    Which country suffers the most natural disasters in the world, “experiencing” the most super typhoons each year?

    strange spc exoplanet

    10 Most Strange Things of the Universe

    thuan tay trai 650

    Left-Handed People and 16 “Shocking” Facts

    cham do ben khoe mieng 650

    The Secret of the Two Red Dots at the Corner of the Mouth of the Tang Dynasty Concubine

    tinh van con cua 650

    Revealing Unseen Images of the Crab Nebula through the James Webb Space Telescope

    cau hon o phap 650

    Banning Bathing, Forcing Tears, and Strange Wedding Customs Around the World

  • Events
    • All
    • Science Stories
    • Scientific Projects

    Tonight announces the Ig Nobel Prize winners

    frog

    Frog Wins Ig Nobel Prize 2005

    canhcutIg

    Life is Not Lacking in Quirks

    Nobel Prize in Medicine 2005: A Modern Fairy Tale

    10 Weird Inventions Awarded the Ig Nobel Prize 2005

    nobelKT

    Why Did They Win the Nobel Prize in Economics?

    giaydientu

    “Electronic Paper” Set to Appear on the Market

    Development of Science and Technology in the South Central Coast and Central Highlands Provinces

    a russian scientist loves vietnam 1659

    A Russian Scientist Who Loves Vietnam

  • Lifestyle
    • All
    • Environment
    • Medicine & Health
    tdnong

    Global warming may be the cause of major storms

    traxanh1

    Green tea has effects against dementia

    Discovery of Cancer-Preventing Genes in the Human Body

    Khachdulich Indonesia

    Avian influenza harms tourism more than terrorism

    nao

    Lying – A Disease of People with Brain Defects

    cafe

    Coffee May Prevent Cancer

    tebaocum

    Recreating the ‘Death’ Flu Virus of 1918

    Indo ban

    The whole world unites to fight avian influenza

    HIV aids

    The Mystery of AIDS Epidemic

  • Technology
    • All
    • AI - Artificial Intelligence
    • Computer Science
    • New Technology
    • Scientific Inventions
    top apps explore space solar system on pc 98000

    Top Applications for Exploring the Universe and Solar System on PC

    vai dien tu 650

    Soon there will be data-transmitting clothing

    sua loi khong vao dc coc coc 650

    Why can’t Cốc Cốc download videos to the computer?

    may tinh cu 1

    17 Things You Can Do with an Old Computer

    play free games super fun on android devices 54708

    Play Extremely Fun Free Games on Android Devices

    top 10 best weather apps on android 98127

    Top 10 Best Astronomy Apps on Android

    how to charge iphone properly 122474

    How to Charge an iPhone the Right Way

    do not scan qr code finger 122198

    Don’t Scan QR Codes Randomly

    sensor technology for measuring oxygen in blood 120461

    Light-Emitting Sensor Technology Can Measure Blood Oxygen

  • Cultural Heritage
    ai cap 650

    The Ruins of Memphis & the Pyramid Complex from Giza to Dahshur – Egypt

    khao co 650

    Prehistoric Archaeological Sites in the Dordogne Valley and Caves in the Vézère Valley – France

    baroque churches philippines 67188

    Baroque Churches – Philippines

    mont saint michel france 67265

    Mont Saint Michel Island – France

    acropolis bracelet in athens greece 67621

    Acropolis Fortress in Athens – Greece

    language mo tan thuy hoang china 67087

    Tomb of Qin Shi Huang – China

    historical city ayutthaya 67804

    Historical City of Ayutthaya

    mesa verde national park 67201

    Mesa Verde National Park – United States of America

    to the taj mahal india 67153

    Taj Mahal Temple – India

  • Entertainment
    • All
    • Photo Library
    • Videos

    Honesty

    Telephone

    Advanced Technology

    Terminal Illness

    Allergy

    Love Like Mars

    Super Definition

    Coi Sách

    Selling Candy

No Result
View All Result
Scimyst
  • Home
  • Discoveries
    • All
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
    • Doomsday
    • Famous Landmarks
    • History
    • Mars Exploration
    • Military Science
    • Oceanography
    • Science Q&A
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
    thanh pho trang 650

    The Lost City of 500 Years Containing Flesh-Eating Parasites

    the ancient buddha statue for women is very beautiful but extremely vivid 119168

    Chilling Ancient Punishments for Women with Beautiful but Bloodied Names

    creating the worlds first plasma lamp not using a wire just throw it away 133669

    Creating the world’s most durable plasma lamp that doesn’t “take a break” after a few days of use

    which country suffers the most natural disasters in the world every year 136695

    Which country suffers the most natural disasters in the world, “experiencing” the most super typhoons each year?

    strange spc exoplanet

    10 Most Strange Things of the Universe

    thuan tay trai 650

    Left-Handed People and 16 “Shocking” Facts

    cham do ben khoe mieng 650

    The Secret of the Two Red Dots at the Corner of the Mouth of the Tang Dynasty Concubine

    tinh van con cua 650

    Revealing Unseen Images of the Crab Nebula through the James Webb Space Telescope

    cau hon o phap 650

    Banning Bathing, Forcing Tears, and Strange Wedding Customs Around the World

  • Events
    • All
    • Science Stories
    • Scientific Projects

    Tonight announces the Ig Nobel Prize winners

    frog

    Frog Wins Ig Nobel Prize 2005

    canhcutIg

    Life is Not Lacking in Quirks

    Nobel Prize in Medicine 2005: A Modern Fairy Tale

    10 Weird Inventions Awarded the Ig Nobel Prize 2005

    nobelKT

    Why Did They Win the Nobel Prize in Economics?

    giaydientu

    “Electronic Paper” Set to Appear on the Market

    Development of Science and Technology in the South Central Coast and Central Highlands Provinces

    a russian scientist loves vietnam 1659

    A Russian Scientist Who Loves Vietnam

  • Lifestyle
    • All
    • Environment
    • Medicine & Health
    tdnong

    Global warming may be the cause of major storms

    traxanh1

    Green tea has effects against dementia

    Discovery of Cancer-Preventing Genes in the Human Body

    Khachdulich Indonesia

    Avian influenza harms tourism more than terrorism

    nao

    Lying – A Disease of People with Brain Defects

    cafe

    Coffee May Prevent Cancer

    tebaocum

    Recreating the ‘Death’ Flu Virus of 1918

    Indo ban

    The whole world unites to fight avian influenza

    HIV aids

    The Mystery of AIDS Epidemic

  • Technology
    • All
    • AI - Artificial Intelligence
    • Computer Science
    • New Technology
    • Scientific Inventions
    top apps explore space solar system on pc 98000

    Top Applications for Exploring the Universe and Solar System on PC

    vai dien tu 650

    Soon there will be data-transmitting clothing

    sua loi khong vao dc coc coc 650

    Why can’t Cốc Cốc download videos to the computer?

    may tinh cu 1

    17 Things You Can Do with an Old Computer

    play free games super fun on android devices 54708

    Play Extremely Fun Free Games on Android Devices

    top 10 best weather apps on android 98127

    Top 10 Best Astronomy Apps on Android

    how to charge iphone properly 122474

    How to Charge an iPhone the Right Way

    do not scan qr code finger 122198

    Don’t Scan QR Codes Randomly

    sensor technology for measuring oxygen in blood 120461

    Light-Emitting Sensor Technology Can Measure Blood Oxygen

  • Cultural Heritage
    ai cap 650

    The Ruins of Memphis & the Pyramid Complex from Giza to Dahshur – Egypt

    khao co 650

    Prehistoric Archaeological Sites in the Dordogne Valley and Caves in the Vézère Valley – France

    baroque churches philippines 67188

    Baroque Churches – Philippines

    mont saint michel france 67265

    Mont Saint Michel Island – France

    acropolis bracelet in athens greece 67621

    Acropolis Fortress in Athens – Greece

    language mo tan thuy hoang china 67087

    Tomb of Qin Shi Huang – China

    historical city ayutthaya 67804

    Historical City of Ayutthaya

    mesa verde national park 67201

    Mesa Verde National Park – United States of America

    to the taj mahal india 67153

    Taj Mahal Temple – India

  • Entertainment
    • All
    • Photo Library
    • Videos

    Honesty

    Telephone

    Advanced Technology

    Terminal Illness

    Allergy

    Love Like Mars

    Super Definition

    Coi Sách

    Selling Candy

No Result
View All Result
Scimyst
No Result
View All Result
Home Technology Computer Science

Protecting Shared Directories with IPSec

by Sci
July 3, 2006
in Computer Science
0
Share on FacebookShare on Twitter

The VLAN (Virtual LAN) solution is often implemented to isolate networked computers; however, many organizations do not have the means to equip VLAN-supported switches. In such cases, using IPSec is an effective solution to protect network resources, such as shared folders.

In the example model, there are two groups of computers, referred to as Group 1 and Group 2. We will configure IPSec so that only computers within the same group can access each other’s shared folders.

To access the shared folder, operating systems XP/2000/2003 use TCP protocols on port 139 and port 445. Therefore, we will create a policy to filter these ports.

1. Create and Configure IP Security Policy for the First Computer

Step 1: Click Start, Run, then type MMC and press Enter to open the Microsoft Management Console.

Step 2: In the Console window, select File, then choose Add/Remove Snap-in.

Step 3: In the newly opened dialog, click Add. In the Add Standalone Snap-in dialog, select IP Security Policy Management and then click Add.

hinh1

Step 4: In the Select Computer or Domain dialog, choose Local computer and click Finish.

hinh2

Step 5: Next, click Finish -> Close, then OK to return to the MMC screen.

Step 6: Right-click on IP Security Policies on Local Computer and select Create IP Security Policy. Click Next to continue.

hinh3

Step 7: Next, enter the name of the policy to create in the name field, for example, “Filter Ports 445 and 139”. Click Next to continue.

hinh4

Step 8: Select Activate the default response rule, then click Next. Next, in the Default Response Rule Authentication Method, choose Use this string to protect the key exchange (preshared key) and enter “1234”. Click Next to continue.

hinh5

Step 9: Select Edit properties, then click Finish to complete.

hinh6

Step 10: In the “Filter Ports 445 and 139” dialog, uncheck the option and click Add. Continue by selecting Next and choosing This rule does not specify a tunnel. Click Next, select All Connection, then click Next; select Use this string to protect the key exchange (preshared key) and enter “1234”. Click Next to continue.

hinh7

Step 11: In the IP Filter List dialog, click Add. In the name field, enter a name for the list, for example, “Ports 445, 139 In-Out” (it’s advisable to choose a memorable name). Click Add, then Next -> Next to continue.

hinh8

Step 12: In the IP Filter Wizard dialog, enter a description in the Description field, for example, “445 Out”. Click Next to continue.

Step 13:

For the IP Traffic Source Address, select My IP Address. Click Next to continue.

For the IP Traffic Destination Address, select Any IP Address. Click Next to continue.

For the Select a protocol type, choose TCP. Click Next to continue.

In the IP Protocol Port dialog, select To this port and enter the value 445.

Click Next then Finish to complete.

hinh9

Step 14: Repeat from Step 12 to Step 13 three more times with the following parameters:

– Iteration 1:

* Description: Port 445 In

* Source Address: My IP Address

* Destination Address: Any IP Address

* Protocol Type: TCP

* IP Protocol Port: Select From this port value 445

– Iteration 2:

* Description: Port 139 Out

* Source Address: My IP Address

* Destination Address: Any IP Address

* Protocol Type: TCP

* IP Protocol Port: Select To this port value 139

– Iteration 3:

* Description: Port 139 In

* Source Address: My IP Address

* Destination Address: Any IP Address

* Protocol Type: TCP

* IP Protocol Port: Select From this port value 139

Upon completion, we get the result as shown. Click OK to continue.

Step 15: In the Security Rule Wizard dialog, select the Ports 445, 139 In-Out option. Click Next to continue.

hinh10

Step 16: In the Filter Action dialog, select Require Security. Click Edit to change the parameters of the Filter Action.

hinh11

Step 17: In the Require Security Properties dialog, select Use session key perfect forward secrecy (PFS). Click OK to return, then click Next to continue.

hinh12

Step 18: Next, in the Authentication Method dialog, select Use this string to protect the key exchange (preshared key) and enter “1234”.

You may use a more complex string; however, it must be noted that computers within the same group will have the same preshared key.

This dialog also contains two options that we do not select, which have the following meanings:

– Active Directory default (Kerberos V5 protocol): Only select this if your computer is a member logged into a server (Windows Server 2000/2003) with Active Directory installed. Kerberos V5 is the encrypted data protocol used among users within AD.

– Use a certificate from this certification authority (CA): This method uses authentication based on Certificate Authority (CA). To use this method, you need to connect to a server with Certificate Service installed to request and set up a CA for IPSec.

Click Next to continue, then Finish to return.

Step 19: In the Edit Rule Properties dialog, select the “Ports 445, 139 In-Out” option and click Apply then OK to return.

Step 20: Right-click on the newly created IP Security Policy (Filter Ports 445 and 139) and select Assign.

2. Copy IP Security for the Next Computer

You can perform the 20 steps above for computer 2, then computer 3. However, this can be very time-consuming and may lead to errors that result in communication issues. We will use the netsh tool to export the IPsec Policy to a file and then import this file into another computer. Here’s how to do it:

Step 1: Preparation

Select Start, Run, type cmd, and press Enter. In the DOS prompt, type the following command to create the Ipsec directory on drive C:

md C:Ipsec

Step 2: Export IPSec policy to a file named Loc445va139.ipsec

Type the following command:

netsh ipsec static exportpolicy file = c:IpsecLoc445va139

(the .ipsec extension is automatically added by netsh)

Step 3: Import IPSec Policy from the Loc445va139.ipsec file

Copy the Loc445va139.ipsec file to the C:IPsec folder on computer 2 and type the following command:

netsh ipsec static importpolicy file = c:IpsecLoc445va139.ipsec

On computer 2, continue with steps 1 to 5 from Part 1 to access the IP Security Management screen. Right-click on IP Security Policy (Filter Ports 445 and 139) and select Assign.

Then proceed with step 3 on computer 3.

3. Implement for Group 2

For computers 4 and 5 in Group 2, we proceed similarly as for Group 1 as outlined above. However, the preshared key value must differ from that of Group 1.

Nguyễn Đắc Tiến
Email
:
[email protected]

Next Post
space discovery returns 6684

The Discovery spacecraft will fly again

disease treatment for shoulder pain 6685

Preventing Neck and Shoulder Pain through Health Preservation Practices

unique scientific discoveries 6687

Unique Scientific Inventions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

FEATURED POST

the mystery of the mummified woman misidentified as an egyptian pharaoh 129359

The Mystery of the Mummy of the Woman Mistaken for the Pharaoh of Egypt

space monsters in mythology first appearance 129358

Cosmic Monster ‘in Legend’ Appears for the First Time

the most dangerous coastline in the world haunting the dreams of mangrove forests 108247

The world’s most dangerous strait – The haunting toll measured in sailors’ lives

10 amazing natural phenomena that challenge science 60818

23 Mysterious Natural Phenomena That Challenge Science

TRENDING

nguoi ai cap co dai 650
Scientific Discoveries

What Race Are the Egyptians Ultimately? Why Are They Different from Today’s Africans?

oclantis city underwater octopus built 127886
Oceanography

Oclantis: The Underwater City Built by Octopuses

how to charge new phone batteries correctly to avoid battery swelling 125779
Computer Science

The best way to charge a newly purchased phone battery to avoid battery degradation

12 causes of throat congestion and hoarseness 101795
Common Illnesses

17 Causes of Throat Tightness and Belching

EDITOR PICK'S

What Race Are the Egyptians Ultimately? Why Are They Different from Today’s Africans?

Oclantis: The Underwater City Built by Octopuses

17 Causes of Throat Tightness and Belching

The Truth About the Mysterious Door Buried Deep in the Snow in Antarctica

12 Most Dangerous Poisonous Mushrooms in the World

The best way to charge a newly purchased phone battery to avoid battery degradation

23 Mysterious Natural Phenomena That Challenge Science

Newsletter

THE MOST IMPORTANT WORLD NEWS AND EVENTS OF THE DAY

Subscribe to our mailing list to receives daily updates direct to your inbox!

Category

  • 1001 Mysteries
  • AI – Artificial Intelligence
  • Aliens & UFOs
  • Animal World
  • Antibiotic Resistance
  • Archaeology
  • Bacteria & Insects
  • Biology
  • Biotechnology
  • Climate & Weather

Site Link

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

About Us

At Scimyst, we uncover the wonders of science, history, and culture. From ancient mysteries to modern innovations, our stories inspire curiosity and connect you to the fascinating world around us. Explore the unknown with us!

  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2025 Scimyst - Your gateway to the wonders of science and culture

No Result
View All Result
  • Home
  • Discoveries
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
      • Bacteria & Insects
      • Biotechnology
      • Plants
    • Doomsday
    • Famous Landmarks
    • History
      • This Day in History
    • Military Science
    • Mars Exploration
    • Oceanography
    • Science Q&A
    • Science Quiz
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
      • Cultural Heritage
      • Vietnamese Heritage
  • Technology
    • AI – Artificial Intelligence
    • Computer Science
    • New Technology
      • Self-Driving Cars
    • Scientific Inventions
  • Lifestyle
    • Cancer
    • Environment
      • Climate & Weather
      • Disasters
      • Latest Storm Updates
      • Nature
      • Solutions
    • Medicine & Health
      • Antibiotic Resistance
      • Common Illnesses
      • Dengue Fever
      • Family Medicine Cabinet
      • Food Safety
      • Health
      • Influenza Outbreak
    • Scientific Applications
  • Events
    • Science Events
    • Science Stories
    • Scientific Projects
  • Entertainment
    • Photo Library
    • Videos

© 2025 Scimyst - Your gateway to the wonders of science and culture