Re: Help:Problems with routing - DNS problem

2001-12-04 Thread Jarkko Niemi
> whatever address on the internet from my client, BUT... the client is > unable to resolve the names (I can ping 195.110.96.65 but not > www.dada.it). > What should I do? Have you defined nameservers (DNS)? At /etc/resolv.conf you should have something like this: nameserver 123.123.123.123 names

Re: Help:Problems with routing

2001-12-04 Thread Vittorio
Thank you San for your advice. Last night only I was able to deal with the problem of routing (out on business :-() and your proposed solution and now I'am able to ping whatever address on the internet from my client, BUT... the client is unable to resolve the names (I can ping 195.110.96.65 but n

Re: Help:Problems with routing

2001-11-25 Thread Vittorio
> > Your desktop's default route should be ppp0, not eth0, like this: > > Destination Gateway Genmask Flags Metric RefUse > Iface > 212.210.33.130 * 255.255.255.255 UH0 00 > ppp0 > 192.168.10.0* 255.255.255.0 U 0

Re: Help:Problems with routing

2001-11-24 Thread San Segkhoonthod
And, for masquerading/simple firewall: iptables -A INPUT -i ppp0 -m state --state NEW,INVALID -j DROP iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j DROP iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward assuming that your kernel was comp

Re: Help:Problems with routing

2001-11-24 Thread San Segkhoonthod
> Eth0 192.168.10.5 (desktop as an alias) > > # route > Destination Gateway Genmask Flags Metric Ref Use Iface > 212.210.33.130 * 255.255.255.255 UH0 0 0 ppp0 > 192.168.10.0* 255.255.255.0 U 0 0 0 eth0 > defa

Help:Problems with routing

2001-11-24 Thread Vittorio
Please help! I can connect my portable PC to my desktop via ethernet cards (eth0) and use ping, NFS, samba etc. Now, after re-reading Net-HOWTO and following the examples in it, I've been trying to set my desktop and its eth0 and ppp0 connections as a router for my portable in order to use email