Jump to content

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


disondr
 Share

Recommended Posts

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 ?
 
Link to comment
Share on other sites

  • 4 weeks later...

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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...