I'm not an expert in iptables,
but my try to setup a "one physical nic" gateway on linux failed for  
exactly that reason.
since I wouldn't have tried such a thing without a hurry, I settled  
with sharing internet connection with a osx laptop.

later on for an public IP range change, I figured out how to do it as  
with source and destination arguments

so you will have to construct -s and -d iptables lines, BUT I never  
figured out how to do NAT in such a situation.
I would be interested to see examples how to do that, since I might  
understand iptables better then.

matthias




On 17.10.2005, at 11:46, lore wrote:

> hi all,
> googling seems that i can't use multiple eth ( eg. eth0:0 ) in  
> iptables rules
> and that a rule for eth0 will also affect all additional IPs; and  
> this is
> that i knew.
> But if i use nessus to test all range of my IPs and i've no respose  
> from eth0
> scan, but i've a lot of response from additional eth. Are they a wrong
> posivite?Is there something i don't know?...Could anyone explain me  
> why this
> behavior?
>
> thanks a lot in advance
>
> lore
>
> -- 
> Pino Maiuli Crew
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss
>
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to