[Dnsmasq-discuss] dnsmasq + nat

andu novac novac.andu at gmail.com
Mon Jan 10 17:30:12 GMT 2011


On Mon, Jan 10, 2011 at 7:21 PM, richardvoigt at gmail.com
<richardvoigt at gmail.com> wrote:
>
> On Mon, Jan 10, 2011 at 10:07 AM, andu novac <novac.andu at gmail.com> wrote:
>>
>> I'm trying to share an internet connection (pppoe) from one computer
>> to another via wifi (wlan0). I had this working fine before I upgraded
>> fron 32 to 64 bit Debian. The problem is that the computer on the wifi
>> network (the client) can reach some addresses (Google, Yahoo) but not
>> others where it hangs forever (Facebook). This setup I'm using is a
>> solution I found on the internet.
>>
>
> If the client can reach some addresses, it's not a dhcp issue, and probably
> not dns either, so dnsmasq is the last place I'd look.
> My crystal ball says you have an MTU problem.  pppoe, like all tunnels,
> often reduces the MTU for tunneled traffic.  If PTMU discovery isn't
> configured or working right on the client, there could be problems.  Just
> turning the interface MTU on the client down by 40 bytes or so may resolve
> the issue.

I'd be glad to try that if you were kind enough to explain me how. So
this is the client computer you think?
Is this what I must do: ifconfig wlan0 mtu 1492 (or whatever will be)?

>
>
>>
>> The relevant options in dnsmasq.conf are:
>> domain-needed
>> bogus-priv
>> interface=wlan0
>> dhcp-range=10.11.5.1,10.11.5.5,12h
>>
>> and the script used to get everything working just configures wlan0
>> for ad-hoc mode and
>> /etc/init.d/dnsmasq restart
>> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>>
>> Any help would be appreciated, thanks.
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>



More information about the Dnsmasq-discuss mailing list