Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7704851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:46:26+00:00 2026-05-31T23:46:26+00:00

I would like to make my own user-mode NAT application. I have the folowing

  • 0

I would like to make my own user-mode NAT application.

I have the folowing scheme:

VM2[192.168.8.2] —— [192.168.8.1]Win2003[192.168.9.1] —— [192.168.9.2]VM1

VM3[192.168.8.3] _/

VM4[192.168.8.4] _/

  1. I’m capturing RAW IP packets on 8.1 and 9.1 interfaces.
  2. Some packets from 8.1 are transfered to 9.1 interface this way: 8.2->9.2 replaced by 9.1->9.2
  3. Some packets from 9.1 are transfered to 8.1 interface this way: 9.2->9.1 replaced by 9.2->8.2

My application does not bind any ports at all – it is only capturing from interfaces.

I saw this scenario:

  1. 8.2->9.2 translated to 9.1->9.2 contains SYN flag
  2. 9.2->9.1 translated to 9.2->8.2 containt SYN+ACK flags
  3. And step 2 contains 9.1->9.2 with RST flag…

Windows Server 2003 resets my NATed connection. I don’t want to bind any ports at all.

How can I handle this?

UPDATE:

user1202136, how is it possible to:

Use Windows Firewall to block RST packets from the ports your
user-space NAT uses.

without writing own NDIS driver?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:46:27+00:00Added an answer on May 31, 2026 at 11:46 pm

    According to the TCP specification, a RST is always sent when an ACK (or SYN+ACK) is received on a port which is not bound to any process. This is done to ensure that node crashes can be reliably detected.

    In your case, it is the TCP/IP implementation in Windows Server 2003 that generates the RST packet. You should either prevent the ACK from reaching the TCP layer or block the RST from reaching the wire. You could try doing this in several ways:

    1. Disable TCP (but not IP) on your interfaces.
    2. Use Windows Firewall to block RST packets from the ports your user-space NAT uses.
    3. (Not sure this is working) Use Windows Firewall to block all TCP packets to the ports your user-space NAT uses. I am afraid this would also block packets from reaching your RAW socket.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to make every EditText object have own title like in Pure
In order to make bundle work on its own i would like to call
I would like to make my app freeware, but if a user is willing
I have an image, and I would like to make the image link to
I would like to distribute an application, but have license key that they can
We have an ASP.NET application that manages it's own User, Roles and Permission database
I would like to make a list to show the user´s friends, that are
I have a set of pages that I would like to ask the user
I would like make a script using PHP (probably need JS) to send POST
I would like make an extension method for the generic class A which takes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.