I have: 1. Linksys router (DHCP), and then on this router connected 2 servers with assigned IP's from router wich are: 1. 192.168.1.125 and 2. 192.168.1.126.
On 1'st one i run Ubuntu with Apache (LAMPP) on port 80 and citadel groupware server on port 2000. Everything works fine.
Now i have 2'nd server machine running on Ubuntu only with citadel groupware server on same port 2000.
I want to stop citadel server on 1'st server and forwarding or reverseproxy all requests wich inncomming to port 2000 on 1. server machine (local IP 192.168.1.125) to 2. server machine (local IP 192.168.1.126) on port 2000.
I'm wondering if it's possible to forward, iptables or reverseproxy this assigned local IP:port to another IP:port, with only one eth0 network card on 1. machine, from wich i want to forward and HOW?