HI,
I am running Fedora Core6 as a gateway for my LAN with two NIC
the setup is,
Static IP[xx.xx.xx.xx]
|
|
eth0[xx.xx.xx.xx]
|
FC 6
|
eth1[192.168.10.1]
|
|
LAN Clients[192.168.10.0/24] and one server has 192.168.10.10 as IP and 192.168.10.1 as gateway
I port forwarded my server through the static IP with Iptables as,
#iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to 192.168.10.10:8080
#iptables -A FORWARD -p tcp -d 192.168.10.10 --dport 8080 -j ACCEPT
But it doesnt satisfy my full need. I can acessmy server from outside [ i mean internet] as
http://xx.xx.xx.xx:8080/ .
From LAN i can access through only
http://192.168.10.10:8080/ but i need to access
http://xx.xx.xx.xx:8080 from LAN too.
Please give me a solution to achieve this. I searched through net, but not able

to find a solution.
So please give me a solution.
Thanks,
Nandhu.