Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243203

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone
Date 2021-12-16 23:50 +0100
Message-ID <Dv7Jw-1LP-7@gated-at.bofh.it> (permalink)
References <Duqbw-fk-7@gated-at.bofh.it> <DuquR-lf-1@gated-at.bofh.it> <DuvEd-3KW-7@gated-at.bofh.it> <DuFNh-18I-7@gated-at.bofh.it> <DuFWW-1rk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2021-12-15 17:01:54 +0000, Tim Woodall wrote:
> On Wed, 15 Dec 2021, Vincent Lefevre wrote:
> > I've tried
> > 
> >  iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
> > 
> > and
> > 
> >  iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1024
> > 
> I think you possibly want -A OUTPUT rules too.

This doesn't change anything.

> And also ip6tables rules.

There are no issues with IPv6.

> If you're going via a firewall then you (usually) only need -A FORWARD
> But if you're trying to configure it on your laptop itself you probably
> need -A OUTPUT (and possibly -A INPUT).

I can't use -A INPUT:

# iptables -A INPUT -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables v1.8.7 (nf_tables):  RULE_APPEND failed (Invalid argument): rule in chain INPUT

And similar error with "-I INPUT":

iptables v1.8.7 (nf_tables):  RULE_INSERT failed (Invalid argument): rule in chain INPUT

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IPv4 specific issue with USB tethering between my Debian laptop and  my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 01:20 +0100
  Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 01:40 +0100
    Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 07:10 +0100
      Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 18:00 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 18:10 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-16 23:50 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 19:40 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-17 01:10 +0100
            Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-17 08:20 +0100
              Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-19 00:00 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone didier gaumet <didier.gaumet@gmail.com> - 2021-12-19 09:10 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-19 10:20 +0100

csiph-web