> iptables -t nat -A PREROUTING -i eth0 -d [W1 IP address] -p tcp --dport 80 -j DNAT --to-destination 192.168.1.1:80 > iptables -t nat -A PREROUTING -i eth0 -d [W2 IP address] -p tcp --dport 80 -j DNAT --to-destination 192.168.1.3:80
oh, and you'll want to add something like this to the filter table's FORWARD chain. iptables -A FORWARD -i eth0 -p tcp -d 192.168.1.1 -p tcp --dport 88 -j ACCEPT iptables -A FORWARD -i eth0 -p tcp -d 192.168.1.3 -p tcp --dport 80 -j ACCEPT iptables -A FORWARD -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
