Skip to contentSkip to conversation

is this ip spoofing?

DISCUSSION Payal Rathod 2 participants 2 messages Aug 17, 2003 – Aug 18, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
I don't know much about SNAT. But is this equivalent to i-spoofing in such case? Is this how SNAT works?

Assume I have a internal ip 192.168.0.10. All traffic coming from it should be seem as coming from 202.1.1.1. So I use SNAT and POSTROUTING and now connection seems to take place from 202.1.1.1. But isn't it similar to ip-spoofing?

Thanks a lot and bye.
With warm regards,
-Payal

Signature · 3 lines
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.
#1 lore raw

Hi Payal,

Quoted 7 lines

I don't know much about SNAT. But is this equivalent to i-spoofing in such case? Is this how SNAT works?

Assume I have a internal ip 192.168.0.10. All traffic coming from it should be seem as coming from 202.1.1.1. So I use SNAT and POSTROUTING and now connection seems to take place from 202.1.1.1. But isn't it similar to ip-spoofing?

Technically, I suppose that IP spoofing is simply generating a packet where the source address is not an address of your own machine. I suppose that SNAT is one way of achieving that, although there are far easier ways if that's all you want to do, and SNAT can also be used for non-spoofing purposes, such as rewriting to an alias on your machine.

Cheers, Chris.

Signature · 4 lines
   ___ __     _
 / __// / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |