View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4791 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Fri Dec 07, 2012 1:29 pm Post subject: pppoe and mtu [solved] |
|
|
My home network is configured in the following way:
modem -- eth1 (pppoe) --- eth0 --- wireless network
all wireless clients need to set by hand mtu=1492 to browse internet.
No, I bought a stupid close device which is unable to set mtu (and which does not read option interface-mtu from dhcpd) by itself.
Anyway, this device browses correctly if connected to internet through a commercial wireless router.
what should I do to browse with my device? _________________ vu vu vu
gentù
mi piaci tu
Last edited by cloc3 on Fri Dec 07, 2012 3:06 pm; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Dec 07, 2012 2:45 pm Post subject: |
|
|
Instead of messing with all clients, use this iptables rule on the machine than runs pppoe: Code: | -I FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu |
|
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4791 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Fri Dec 07, 2012 3:05 pm Post subject: |
|
|
wonderfull.
my previous iptables line was no working.
but now the problem is solved. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
|