I have two Linux servers, one(Linux Server = S1) is used in LAN and another(Linux Server 2 = S2) is not in LAN and has a valid IP address.
I want to route all traffic from PCs to S2. So at first, i set S1 as all PCs' gateway. Now i want to route all traffic from S1 to S2, but i could not.
Can Linux iptables do it? If yes, How? If no, How can i route all traffic from S1 to S2?
I uploaded an image to show my intention in http://s17.postimage.org/i0qxi8bn3/filter.png