-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Nomad fs and related doesn't work with NATed client nodes. #2145
Comments
I'm not sure how this should work, since the wan address is usually configured through consul (in the case of AWS it is available however through a node attribute, but I think that's too specific as a solution). May be a special "used consul translated addressed" option could be used ? |
@ninoles I guess you want Nomad CLI to use the public or EIP of nodes? If so please use the advertise address client option to specify the public IP when configuring Nomad client. That should make the CLI use the EIP instead of the private IP. |
The tricky part here, is that doing so will make the other node start using the external network for accessing each other (with charged bandwidth, etc.). At least, that's how I understand this is working. Right now, since there is no way in nomad to advertise wan address in additional to internal address, I think the best way to achieve what I need is through a bastion host. In any way, it's probably also more secure this way. |
One possibility: if the client can communicate with the nomad servers, have the servers relay log/fs information from the target remote agent. |
Related: #1640 |
Thanks @sheerun. Lets close this in favor of that issue. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.5.1
Operating system and Environment details
Windows 10 Pro (but unrelated)
Issue
Accessing nomad through an NATed address (like in the AWS environment) used the WAN address of the node.
Reproduction steps
Start a node in AWS and exposed the public address to your local node. Now, try to fs an allocation
The text was updated successfully, but these errors were encountered: