Giter Club home page Giter Club logo

Comments (9)

skeeto avatar skeeto commented on August 15, 2024 1

This should now be resolved by #20. Thanks, @Inrin!

from endlessh.

borg333 avatar borg333 commented on August 15, 2024

Yes, the same, only tcp6

# netstat -an | grep 2222
tcp6       0      0 *.2222                 *.*                    LISTEN

from endlessh.

skeeto avatar skeeto commented on August 15, 2024

from endlessh.

borg333 avatar borg333 commented on August 15, 2024

I run it on VM esxi on fresh FreeBSD11.2. So, what i must do?

from endlessh.

PyRo1509 avatar PyRo1509 commented on August 15, 2024

This is affecting me as well on a fresh Ubuntu 16 install. Once this issue is solved I'd love to run this.

from endlessh.

Inrin avatar Inrin commented on August 15, 2024

This has to do with IPv4 mapped IPv6 address communication.
Linux defaults to allow this, whereas FreeBSD defaults to not allow this and defaults to IPv6Only.

To allow this under Linux use:

sysctl -w net.ipv6.bindv6only=0

To make it permanent safe it in a `/etc/sysctl.d/40-ipv6only.conf

net.ipv6.bindv6only = 0

For FreeBSD:
Add:

ipv6_ipv4mapping="YES"

to your /etc/rc.conf

Maybe I'll get the time to make an PR to include -4 -6 command switches.

PS:
@PyRo1509
Why do you use Ubuntu 16.XX in 2019?

Sources:
https://www.freebsd.org/doc/handbook/network-ipv6.html
http://man7.org/linux/man-pages/man7/ipv6.7.html

from endlessh.

PyRo1509 avatar PyRo1509 commented on August 15, 2024

Why do you use Ubuntu 16.XX in 2019?

You use what that your VPS provider provides.

from endlessh.

utrenkner avatar utrenkner commented on August 15, 2024

@Inrin Thanks for the info. I tried setting ipv6_ipv4mapping="YES" in my jail, but that does not have any effect. I would probably have to set it on the the host - but I am not going to do this on a production server with several other jails.

from endlessh.

Inrin avatar Inrin commented on August 15, 2024

@utrenkner
Good to know! I couldn't test it myself as currrently I have no *BSD setup running.
I found https://superuser.com/questions/903308/forcing-bsd-to-accept-both-ipv4-and-ipv6-traffic-on-a-single-socket/999182, which doesn't sound promising.

I'm currently testing adding -4 -6 switches and default to IPv4 mapped IPv6.
According to https://www.freebsd.org/cgi/man.cgi?query=ip6&apropos=0&sektion=0&manpath=FreeBSD+12.0-RELEASE+and+Ports&arch=default&format=html FreeBSD also has the option, so it sounds promising. (Need to spawn an FreeBSD instance for testing though)

from endlessh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.