Hello to all i am almost new in Linux but i have managed to install a slackware distribution in my old Celeron.
I want to use this Linux Box as a router in my network but i have a little problem.
The PC has 3 ethernet adapters.
Two simple ethernet and one wireless ethernet.
They are all working properly.
Its ethernet is a different subnet.
Till now i have working using iptables with the command:
iptables -t nat -A POSTROUTING -o $EXTERNAL -j MASQUERADE
EXTERNAL is my eth0
to enable NAT and share internet form may main subnet where the proxy is located to the other two subnets....
I want to ask if there is a way to route one subnet without NAT and enable NAT only to the other subnet??
Thanxs!!!