I'm sure you can solve this
Hi Ive read the docs and still can't work it out (Yes I'm stupid)
Background: I want to forward traffic from hosts on the switch to through router A to router B. (and later from router B to a host on the switch, but i guess I could just invert the first problem).
I think one of the reasons i'm having trouble with this is because all hosts are on the same subnet (here is the setup)
[switch]-->[router A]-->[router B]-->(Inet)
192.168.0/24
Ive tryed various things this being one of them (where x is a host on the switch) iptables -t mangle -A POSTROUTING -p tcp -s 192.168.0.x -d 192.168.0.223 --destination-port 80
I hope my question is clear enough. Thanks in advance