Jump to content

listen to ip/port then send to another


Recommended Posts

Hi there,

I want to ask if my idea is possible if it is please post an example script.

Scenario:

I have two ip addresses in my server lets say for example 192.168.1.101 and 192.168.1.102 they are both in the same machine and same gateway.

I want the script to listen on 192.168.1.101 then send it to 192.168.1.102 like a vpn server

would that be possible? again if it is possible please include a sample script. thanks.

 

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

×
×
  • Create New...