Score:0

systemd-socket-proxyd[1076]: Failed to connect to remote host: Permission denied

az flag

I have a RHEL 6 running a rdp forward service. And now I would like to migrate to RHEL 9. But xinetd is no longer available in RHEL 9. I try to setup using systemd but failed with:

systemd-socket-proxyd[1076]: Failed to connect to remote host: Permission denied.

I have created two files for the redirect:

  1. rdpforward.service:
[Unit]
Description=RDP Forward
Requires=network.target
After=network.target

[Service]
ExecStart=/usr/lib/systemd/systemd-socket-proxyd 10.0.0.18:3389

[Install]
WantedBy=multi-user.target
  1. rdpforward.socket:
[Socket]
ListenStream=3389

[Install]
WantedBy=sockets.target
pt flag
The error "Failed to connect to remote host: Permission denied." seems pretty clear and should suggest some specific diagnostics. Ignoring systemd, can you connect to `10.0.0.18:3389` from the RHEL9 host (e.g., using `nc`, `telnet, etc)?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.