Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Oct 6, 2023
1 parent c661f97 commit bb82106
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 7 additions & 1 deletion common/src/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@ pub const CRUCIBLE_PANTRY_PORT: u16 = 17000;

pub const NEXUS_INTERNAL_PORT: u16 = 12221;

/// TODO docs
/// The port on which Nexus exposes its external API on the underlay network.
///
/// This is used by the `wicketd` Nexus proxy to allow external API access via
/// the rack's tech port.
pub const NEXUS_TECHPORT_EXTERNAL_PORT: u16 = 12228;

/// The port on which `wicketd` runs a Nexus external API proxy on the tech port
/// interface(s).
pub const WICKETD_NEXUS_PROXY_PORT: u16 = 12229;

pub const NTP_PORT: u16 = 123;
Expand Down
4 changes: 0 additions & 4 deletions wicket/zone-etc/ssh/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ Match User wicket
AuthenticationMethods none
ForceCommand /opt/oxide/wicket/bin/wicket

# Allow TCP port forwarding to wicketd's nexus proxy; port number
# matches `WICKETD_NEXUS_PROXY_PORT`
PermitOpen [::1]:12229

Match User support
PubkeyAuthentication yes
AuthenticationMethods publickey
Expand Down

0 comments on commit bb82106

Please sign in to comment.