Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 198.0.0.1/24, 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 198.0.0.1 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

 
discard

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

Browse other questions tagged or ask your own question.