Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2013 23:07:02 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Lowell Gilbert <freebsd-lists@be-well.ilk.org>
Cc:        Mario Lobo <lobo@bsd.com.br>, Aryeh Friedman <aryeh.friedman@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: how to force all packets to be ipv4 not v6
Message-ID:  <CA%2B7WWSdE=refEcw64YLeZGep9BC7%2BtjJ5qkSveB3ayQGk9bPHw@mail.gmail.com>
In-Reply-To: <44ip479wys.fsf@lowell-desk.lan>
References:  <CAGBxaXnwzFKRi4H-41ZVZSHYB5XxB-uC2dFoqvyW28FXfyF63g@mail.gmail.com> <20130331095730.7c8b5e55@papi> <44ip479wys.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
If it's just for ssh(1) and scp(1) you can use ssh_config(5) to force the
use of IPv4 based on the destination hostname.

-Kimmo


On Sun, Mar 31, 2013 at 10:43 PM, Lowell Gilbert <
freebsd-lists@be-well.ilk.org> wrote:

> Mario Lobo <lobo@bsd.com.br> writes:
>
> > On Sun, 31 Mar 2013 01:20:17 -0400
> > Aryeh Friedman <aryeh.friedman@gmail.com> wrote:
> >
> >> I have a host that for ISP reasons must have a ipv6 addr as well as
> >> the ipv4 but the ISP does not offer external ipv6 routing but all the
> >> commanes (ssh, ftp, etc.) default to ipv6 and need special options to
> >> use 4 is there anyway to force them to always use 4?
> >> _______________________________________________
> >> freebsd-hackers@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> >> To unsubscribe, send any mail to
> >> "freebsd-hackers-unsubscribe@freebsd.org"
> >
> > A kick and dirty way would be to comment the line:
> >
> > options       INET6   # IPv6 communications protocols
> >
> > from your kernel config and recompile.
>
> That breaks the "must have a ipv6 addr" requirement.
>
> The way to do this without completely disabling IPv6 used to be to
> configure ipv6_prefer, but that appears to have been superseded by
> ip6addrctl_policy.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSdE=refEcw64YLeZGep9BC7%2BtjJ5qkSveB3ayQGk9bPHw>