Dear Sir, my outgoing routes ready using following command iptables -t nat -A POSTROUTING -s 192.168.1.126 - d www.google.com -j MASQUERADE
checking output of this command is [EMAIL PROTECTED] swapnil]# iptables -L -t nat Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- 192.168.1.126 216.239.57.99 MASQUERADE all -- 192.168.1.126 216.239.37.99 MASQUERADE all -- 192.168.1.126 216.239.39.99 Chain OUTPUT (policy ACCEPT) target prot opt source destination This is working fine I can access google.com without proxy till my server next restart, I want this should be permanent. how can i do that? and now problem is incomming routing for my locally hosted webserver which URL is projects.modular-infotech.com what steps should I follow 1) entries in local DNS server 2) how to specify incomming routes from 0/0 to internal IP address with condition URL must projects.modular-infotech.com 3) how to maintain logs for each session for URL 4) how to save changes permanent ( use of iptables-save ) Thanks and regards Swapnil K. System Group Modular Infotech Pvt. Ltd. 26 Electronic Co-operative Estate, Pune Satara Road, Pune. 411 009. Maharshtra. INDIA. Ph: +91-20-24226612 Ext. 206. Fax: +91-20-24225896. E-mail: [EMAIL PROTECTED] Website: www.modular-infotech.com _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/