I am in Mac OS X, I have a raspberry(192.168.200.2) connected to en0 (192.168.200.1). I've my en1 with the network 192.168.1.0/24. I reach internet via this interface.
All the goes to 192.168.200.1
So, I would like to redirect all my packets from en0 to en1.
I have enable ip forwarding :
sudo sysctl -w net.inet.ip.forwarding=1
And i tried to redirect the en0 trafic to en1 via :
1) "system preference/internet sharing" -> it's not working
ipfw add 1040 allow ip from any to any via en0 ipfw add divert natd all from any to any via en1 ipfw add pass all from any to any natd -interface en1
Well, it's not working. And i'm lost.
So What i need to do ?