Sign in to follow this  
Followers 0
disondr

How to redirect ip packet to other ip address by Autoit ?

3 posts in this topic

The hosts only support domain redirect  to  other ip address on  windows system .
How to redirect ip packet to other ip address like  hosts  by Autoit  coding?
 
 
C:WindowsSystem32driversetchosts 
 
 
# Copyright © 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
 
102.54.94.97     rhino.acme.com           (O)
102.54.94.97       38.25.63.10                (X)  <---- How to redirect ip  to other ip by Autoit coding ?
 

Share this post


Link to post
Share on other sites



Hi.

Welcome to the forum.

I don't get what your aim is: What packets are to be redirected? You might want to give some examples for the IP / hostname of "this box", "Host A" and "Host to be redirected to".

REgards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Registry Edit or CMD for Route Map or append the Host file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0