"Waqar Ali Khan" <[EMAIL PROTECTED]> thus wrote: > iii) I am using 192.168.1.1/24 for server & 1.2.3.4 for ISP, configuration > as below. >
Your config is confusing. What is this 1.2.3.4 IP? You mentioned that you dial-in to the ISP and get a dynamic IP allocated, so where is this 1.2.3.4 coming from? Anyways. Assuming your Linux box is dual-homed, with ppp0 as your dial-up (202.5.152.32, 202.5.152.254, 202.5.152.280, etc.) and eth0 as your LAN IP (192.168.1.1) And the windows m/c are the LAN clients right? On 192.168.1.0/24 range? And you want to get IRC working? Well... Assuming this simple config, and my experience (at least around 5 months back!), I just needed a masquerading statement and ip forwarding enabled. IIRC, IRC worked right out of the box. Try these rules: iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE sysctl -w net.ipv4.ip_forward=1 The above will enable masquerading. At least, it worked for me. Please note that the above rules are only for your testing purposes, and may not comply with your policy and security decisions. After you get IRC, etc, working, you can selectively sharpen your rules. -- arc_of_descent ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
