how to force all packets to be ipv4 not v6

Mario Lobo lobo at bsd.com.br
Sun Mar 31 13:02:03 UTC 2013


On Sun, 31 Mar 2013 01:20:17 -0400
Aryeh Friedman <aryeh.friedman at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"

A kick and dirty way would be to comment the line:

options 	INET6	# IPv6 communications protocols

from your kernel config and recompile.


-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
 


More information about the freebsd-hackers mailing list