Comments (9)
This should now be resolved by #20. Thanks, @Inrin!
from endlessh.
Yes, the same, only tcp6
# netstat -an | grep 2222
tcp6 0 0 *.2222 *.* LISTEN
from endlessh.
from endlessh.
I run it on VM esxi on fresh FreeBSD11.2. So, what i must do?
from endlessh.
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.
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.
Why do you use Ubuntu 16.XX in 2019?
You use what that your VPS provider provides.
from endlessh.
@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.
@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)
- Unable to make on Ubuntu 18 LTS HOT 5
- Systemd won't start HOT 3
- Adding a man page for the endlessh.conf options
- Log in local timezone HOT 3
- InaccessiblePaths=/run /var makes systemd service not start on Raspberry pi HOT 1
- Is it possible to run it on Debian 9?
- (code=exited, status=1/FAILURE) HOT 19
- no config after installing with apt HOT 5
- CentOS 8, not possible to autostart enablessh HOT 3
- [announcement] Multi-arch docker image by linuxserver.io released HOT 1
- can't start endlessh service "Failed at step NAMESPACE" HOT 3
- Logging - where? HOT 2
- Random message delay?
- Why not set a non-privileged user in systemd unit file? HOT 5
- Request for Pacstall Support HOT 1
- TCP v4 is not default HOT 2
- need way to define IP to bind/listen to. Port= is not sufficent HOT 2
- USR1 should output stats regardless of LogLevel
- setcap 'cap_net_bind_service=+ep' does not work HOT 1
- [Feature]: Add option to upload IP addresses to aggregators like AbuseIPDB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endlessh.