-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port=3389 listens on v4 or v6 but not both #2654
Comments
There are quite a few wrinkles in the V0.9.x IP stack which will get sorted out in the lifetime of the next major build. I thought this was probably one of these at first, but now I don't think it is an issue at all. I've just run up a v0.9 devel build:-
I've got Then:-
and
On another machine:-
and
So it all looks OK here. The discrepancy could be:-
Or something else I can't think of! Let me know what you find. |
For now I've set |
Ah, I now notice that debian's package is quite a few versions behind - stuck in 2019! |
That's not it. I've got a v0.9.12 build here:-
I've got a simple Both interfaces are being listened on. Check the output of |
@reukiodo - do you need any more input into this? |
|
I changed the xrdp.ini back to the |
Sorry @reukiodo - I'm missing some information. From what I can see from that version of the code, Also, you mention a VPN. This may well be giving you routing issues.
As I mentioned earlier, you can use Suggest you check the server is behaving as I think it is by using |
It seems a simple service restart is not enough and I was able to connect to 3389 on ipv4 after a full reboot with default |
That seems odd. The behaviour of xrdp itself won't be affected by a reboot, but other system-level features might be (IP addresses, routing, etc). Possible reasons off the top of my head:-
Since this is unexplained it may well happen again. If it does, please repost here and we can look into it. If not, I'll close this in a couple of weeks. |
The system had both static IPv4 configured as well as static DNS, so not likely to be a DNS/resolution/IP issue. I'll throw this one up as undefined and close for now. If I can replicate with another server I'll let you know, though it seems that a reboot will likely resolve after installation. |
The default
port=3389
listens to either 0.0.0.0:3389 or {::}:3389 but not both, against intuition. The default should listen to both v4 and v6 when both are enabled on the server.On v4-only systems, xrdp always listens on 0.0.0.0:3389. On v6-only systems, xrdp always listens on {::}:3389. On a system with both v4 and v6 enabled and using default config, it seems to randomly select one or the other, not both on reboot.
Attempting to workaround manually to configure both such as
port=tcp://:3389 tcp6://:3389
fails to start I'm assuming due to #1450 or something similar:The text was updated successfully, but these errors were encountered: