~$ iptables -i eth0:0 -P ACCEPT Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).
nope ... so again, HOW to do NAT on one device? matthias On 17.10.2005, at 13:34, Morten Nilsen wrote: > Matthias Subik wrote: > >> 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. >> > > just treat eth0:1 and eth0 as two separate devices, should work > just fine.. > > -- > Morten > _______________________________________________ > 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
