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

ippp0 und ippp1 für zwei Unterschiedliche PCs Routen (iptables)



Hi, ich habe zwei PCs. Der eine hat die IP 192.168.1.2 und der andere
192.168.1.3. Ich würde gern per IPTABLES so MASQUERADEN das IP .2 sich bei
ippp0 und IP .3 sich bei ippp1 einwählt. Habe es bis jetzt noch nicht
hinbekommen. Mein Ansatz war:
- iptables -t nat -A POSTROUTING -o ippp0 --source 192.168.1.2/24 -j
MASQUERADE
- iptables -t nat -A POSTROUTING -o ippp1 --source 192.168.1.3/24 -j
MASQUERADE

Aber so ganz hat es nicht geklappt.



Reply to: