Skip to content
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

Change port for one IP with rinetd?-> Cannot assign requested address. #26

Open
ethpi opened this issue Dec 30, 2021 · 1 comment
Open

Comments

@ethpi
Copy link

ethpi commented Dec 30, 2021

Hi,

I'd like to change the port for outgoing traffic to one specific external IP. I use this configurationline:

12.34.56.78 443 12.34.56.78 12345

But rinetd tells me:

rinetd error: couldn't bind to address 12.34.56.78 port 443 (Cannot assign requested address)

If I use

127.0.0.1 443 12.34.56.78 12345

it works perfectly. Does rinetd doesn't work for external IPs?

Background:
I'd like to make my collabora server to speak with my nextcloud server (12.34.56.78) that doesn' listen on 443 but due to security reasons on port 12345. Because my collabora server shall connect to other nextcloud servers on the standard 443, I can't change default outgouing port of collabora server.

@Pentium4User
Copy link

rinetd needs to listen on an interface with an IP address. On the left side you need to use an IP address that is assigned to your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants