Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a software project where we use a Windows XP SP3 PC to route all IP traffic from a remote PC connected via a radio interface. We are accomplishing this using the winpcap library to send the raw packet after constructing the new MAC header. This only works after enabling Internet Connection Sharing(ICS), otherwise the Windows TCP stack actively rst's any TCP return traffic. Does anyone know of a way to enable ICS from the command line, or through the registry? The only part of ICS we care about it that it stops the TCP stack from rst'ing incoming TCP meant for another machine. The software works as is, we are just hoping to find a way to avoid any manual configuration. Basically we need the installer to enable ICS, instead of having a user do it manually.

PS I realize windows in not the best OS for this, the OS choice is outside of my control.

Thanks for any help

share|improve this question
add comment

1 Answer

http://forums.devshed.com/showpost.php?p=403367&postcount=2 has the information you need.

In your case, you may be able to get away with just using sc.exe (command line equivalent of the Services.msc snap-in) to start ICS.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.