Make sure u r able to resolve names from client PCs.

echo 1 > /proc/sys/net/ipv4/ip_forward

/sbin/iptables --flush
/sbin/iptables --table nat --flush
/sbin/iptables --delete-chain
/sbin/iptables --table nat --delete-chain
/sbin/iptables --table nat --append POSTROUTING --out-interface ppp0 -j
MASQUERADE
/sbin/iptables --append FORWARD --in-interface eth0 -j ACCEPT

U can specify as ppp0 default gateway when conneted in your dial up
settings.


From: "Jiju Thomas Mathew" [EMAIL PROTECTED]

> Does any one know how I can manipulate the IPTABLES to provide seamless
> connection for yahoo messengers? My linux box is running RH 8.0 and sits
> between an ADSL (cable) modem and a DLink 24 port switch.  Messengers are
> now connecting through http proxy. previously this box was running RH 6.2
> and the ipchains -P forward -j MASQ would enable this.  But I cannot make
> IPTables understand this.  And my major problem is that they frequently
use
> dialup and what I have done is rewrite the default gateway whenever the
> dialup is connected (ip-up.local) and rewrite the gateway on
> disconnection(ip-down.local), so I will need the ip forwarding to work in
> this condition too. I am not bothered about the security since the ISP has
> blocked all service ports in their firewall side, so I am pretty sure that
> no one can even run a port scan on the said machine.
>
>
> Shekhar: your squid config worked like charm but i added the cache dir
> statement also and made the cache 500MB. thanks
>
> jiju




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to