Hello everybody, Here is my LAN setup... We have got a email server say ip 192.168.20.1
Some of the remote users are connected to this server through dial-up... Only one modem is connected to this server and the user who is connected through dial-up is assigned ip of 192.168.20.99 Now there is one more application server with ip 192.168.20.4 Now this dial-up user (192.168.20.99) wants to access a browser based application from 192.168.20.4 server from his machine... I have enabled ip forwarding on linux machine, route is setup Here are the iptables forwarding rules : /sbin/iptables -A INPUT -i ppp1 -s 192.168.20.99 -p tcp -j ACCEPT /sbin/iptables -A FORWARD -i ppp1 -o eth0 -d 192.168.20.99 -j ACCEPT /sbin/iptables -A FORWARD -i eth0 -s 192.168.20.99 -o ppp1 -j ACCEPT But inspite of all this from 192.168.20.99 dialup machine I cannot ping to 192.168.20.4... Following is the routing table on 192.168.20.1 : [EMAIL PROTECTED] /root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 61.1.72.16 * 255.255.255.255 UH 0 0 0 ppp0 192.168.20.0 * 255.255.255.0 U 0 0 0 eth0 192.168.30.0 192.168.20.211 255.255.255.0 UG 0 0 0 eth0 10.103.0.0 192.168.20.200 255.255.0.0 UG 0 0 0 eth0 10.103.0.0 * 255.255.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 61.1.72.16 0.0.0.0 UG 0 0 0 ppp0 After the dail-up user connects ppp1 interface is up... Is anything else need to be setup or I am doing something wrong above.. Any inputs regarding the same will be helpful... Thanks in advance... Warm Regards -- Shriram (Rajesh) Fowkar Programmer "IT" V. S. Dempo & Co. Pvt. Ltd., Dempo House, Campal, Panaji - Goa. Email : Shriram Fowkar <[EMAIL PROTECTED]> URL : http://www.dempos.com Phone : (0832)2441387 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
