Re: [masq] Help on Diald-0.16.5 and Ip-Masq
Could you point me to some reference which would give more info on what ip_dynaddr does and is for and why is it set in such a manner? Download the newest kernel sources and put them in /usr/src/linux. From there, read the doc: /usr/src/linux/Documentation/networking/ip_dynaddr.txt --David .. | David A. Ranch - Remote Access/Linux/PC hardware [EMAIL PROTECTED] | !! `- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -' - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For daily digest info, email [EMAIL PROTECTED]
[masq] Help on Diald-0.16.5 and Ip-Masq
I've been using IP Masquerading without problems from several clients and am just starting to get Diald setup to work correctly. I've got Diald to correctly bring up and down the link when using a web browser on the linux server. The client machines when seeking a DNS also correctly brings up the link. However, web page retrievals, mail retrievals etc. can't work from apps on the client.. Despite the ppp link to the ISP being brought up correctly, the apps can't contact the DNS. They do work however if the link is first brought up by an app on the linux server. I've seen posts in the mail archive indicating the same problem but I've not been able to find a post with a solution. The Ip-Masq and Diald docs/faqs etc. don't seem to address this problem directly. At least, I can't seem to find anything that discusses this. Hope someone here on the mailing list is able to provide some pointers or indicate a solution to my problem. Thanks in advance. CW - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For daily digest info, email [EMAIL PROTECTED]
Re: [masq] Help on Diald-0.16.5 and Ip-Masq
On Thu, Oct 15, 1998 at 04:23:59PM +0900, Tan Chee Weei wrote: I've been using IP Masquerading without problems from several clients and am just starting to get Diald setup to work correctly. I've got Diald to correctly bring up and down the link when using a web browser on the linux server. The client machines when seeking a DNS also correctly brings up the link. However, web page retrievals, mail retrievals etc. can't work from apps on the client.. Despite the ppp link to the ISP being brought up correctly, the apps can't contact the DNS. They do work however if the link is first brought up by an app on the linux server. I've seen posts in the mail archive indicating the same problem but I've not been able to find a post with a solution. The Ip-Masq and Diald docs/faqs etc. don't seem to address this problem directly. At least, I can't seem to find anything that discusses this. Hope someone here on the mailing list is able to provide some pointers or indicate a solution to my problem. Thanks in advance. Do you still have a -W ppp0 in your forwarding rule that sets up masquerading? If so, that's the problem (this happened to me). Before the link comes up, diald sets up a fake default route, and when it sees packets trying to go through it it brings up the ppp connection. But if you're forcing your masqueraded packets to go through ppp0, which isn't up yet, diald doesn't see them and doesn't bring up the connection. Take out the -W ppp0 and see what happens. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For daily digest info, email [EMAIL PROTECTED]
Re: [masq] Help on Diald-0.16.5 and Ip-Masq
Despite the ppp link to the ISP being brought up correctly, the apps can't contact the DNS. They do work however if the link is first brought up by an app on the linux server. What are you using for DNS servers on the clients? Your ISP's DNS servers? With Diald and dynamic IP addresses, I would HIGHLY recommend to do (2) things: 1) setup a caching DNS server on your Linux box. Not hard at all and the DNS-HOWTO tells you how to do it. From then on out, DNS will be a LOT faster for commonly used destinations. 2) Make sure that in your /etc/rc.d/rc.local file or some other firewall script that you have: echo "1" /proc/sys/net/ipv4/ip_dynaddr --David .. | David A. Ranch - Remote Access/Linux/PC hardware [EMAIL PROTECTED] | !! `- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -' - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For daily digest info, email [EMAIL PROTECTED]