Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any specific command in windows which do the following task:

I want to modify the source IP address in the packet whose Destination IP is not in the private LAN, i.e.,

I have a virtual interface whose IP address id, and physical ethernet interface(eth0) whose IP is X.X.X.X (Having different subnet then the virtual interface)

Packets of virtual interface having source IP are routed through the eth0, But They need to be transferred using source IP as X.X.X.x(eth0).

How can I accomplish this in windows ?

In linux it can be done using NAT iptable postrouting rule.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.