Re: Sending traffic through Secondary IP Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>> How would I, say, use nmap to do something like that?  Is
>> there a generic way to force a particular program to use a
>> secondary IP address instead of the default primary?
>>
> <snip>
>>
>> But how about those programs that don't?
>>     === Al
>>
>>
> 
> The only *generic* way that I know of, is to use IPTables to
> source-NAT your outbound connections. This will work OK if you
> have specific services in mind, you could just SNAT based on
> Destination port.can't remember off the top of my head if
> IPTables can mangle traffic based on the application...I seem to
> remember no, tho.
> 
> This would not work so good for nmap example you gave
> unfortunteatly.

That's actually intriguing.  I think I'll try it out sometime.

In any case, the ping solution provided by Dennis will meet my needs
in this particular case.

Thanks to you both.
   === Al 



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux