Jonathan
Do not use the virtual address. Use the REAL address.
Steps:
1. create a file that contains the following:
arp -s <IP address u want to support> <MAC of external IF>
route add -host <IP address /32> gw <IP address of internal IF>
repeat the above two line for each IP address u want to support
2. Ensure that the iptables system will do proxy arp
## Enable proxy arp... to answer for all unused IP address in EXT subnet
if [ -f /proc/sys/net/ipv4/conf/$EXT_IF/proxy_arp ]; then
echo 1 > /proc/sys/net/ipv4/conf/$EXT_IF/proxy_arp
fi
3. Write the iptable rules to define were each $EXT_IP_ADDR will be sent
for SYS in <ip add1> <ip add2> <ip add3>
do
$IPT -t nat -A PREROUTING -i $EXT_IF -p tcp -d SYS --dport http -j DNAT --to
$SPARKY:8081
done
The above piece of script is from my iptables configuration. AND it works just FINE
That should get you going in the proper direction. Adjust to fit your needs.
--
Ed Haggerty
New London Computer Service Inc.
2099 Newark Rd P.O. Box 160
New London, PA 19360
610-869-3955 (V)
610-869-7114 (F)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list