port mapping with fake ip


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users port mapping with fake ip
# 1  
Old 01-20-2010
Lightbulb port mapping with fake ip

Hi there, i have a question to all.

The task is:
Redirect port from local host to remote (datapipe etc.) with faking my ip.
For example, nmap with -S option make fake ip of host it being running.
pic:

[my host] -> [remote host]
10.1.1.1:80 10.1.1.130:80
identify as 10.1.1.34

main task - in logs of 10.1.1.130 i was surfing from 10.1.1.134, but really i was 10.1.1.1

It is possible to make such thing using smth tool(s) ? Or it will be easier to write one ?
# 2  
Old 01-24-2010
I am not sure what is the purpose of this question, nor if you are going to use it in a legal way.
To change a local port to be coming from another IP - this is called tunelling. It is quite simple.
If you want to make this on some local machine then you need to mangle with the TCP/IP. There are multiple ways to achieve that. I would suggest Linux + IPTables + SNAT (Source NAT) which is exactly what you need. You might use google to find how to do a SourceNAT (SNAT) on other platforms and using some specific tools.

Short description of what SNAT might be:
"If a packet is going out from my PC from port 1234 then its source IP should be replaced to IP 5.6.7.8". It would be something like (might be wrong as I am not testing that): "iptables -A MANGLE -p tcp --sport 1234 -j SNAT --from-ip 5.6.7.8"
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

2. Shell Programming and Scripting

Creating unique mapping from multiple mapping

Hello, I do not know if this is the right title to use. I have a large dictionary database which has the following structure: where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =. What I am looking for is a perl script which will take... (5 Replies)
Discussion started by: gimley
5 Replies

3. IP Networking

What is a fake network device?

Thanks in advance! Ben (1 Reply)
Discussion started by: bigben1220
1 Replies

4. UNIX for Dummies Questions & Answers

fake network address....

Good morning! Why would having a fake network device be useful? Thanks in advance Bigben (0 Replies)
Discussion started by: bigben1220
0 Replies

5. IP Networking

port mapping

Hello to all! I am new to this interesting forum. My questions is not totally related to unix/linux systems, but I am not finding proper place where to make my question and this forum seems to be visited by experts and unix/linux experts are epxerts in everything My ISP has two kinds of... (1 Reply)
Discussion started by: kallquk
1 Replies

6. Shell Programming and Scripting

Fake deletion of files

Hi, This is possibly an odd request to do with permissions as I seem to have tied myself up with these! I have the following directory (see below) that contains files that the 'usergrp' user needs to be able to 'delete' files from. drwxr-s--- 2 usergrp usergrp 512 16 Feb 14:37... (2 Replies)
Discussion started by: Peejay
2 Replies

7. Linux

Fake System32 Folder

I read somewhere that you can create a fake system32 folder in linux where you can store the most common windows runtime libraries, that way you can install windows programs (using wine) directly in linux, what I meen is that even the installer works. Does anyone know how I can do this, and where... (2 Replies)
Discussion started by: Kimm
2 Replies

8. IP Networking

Routing, Port Mapping, Internet Sharing etc etc

I'm running OS X. (OS X Server actually) and right now I use a program called BrickHouse to handle my router configuration. But this program kind of sucks. I'd much rather learn how to configure these programs manually. By these programs, I mean the programs OS X comes with to handle these jobs... (0 Replies)
Discussion started by: l008com
0 Replies
Login or Register to Ask a Question