Page MenuHomeVyOS Platform

Add API destination port number for secondary firewall in config sync
Closed, ResolvedPublicFEATURE REQUEST

Description

Can you add a configuration option for a secondary port. to the service config-sync?

It is possible to change the listening port on the HTTPS API, but not on the config-sync.

Right now - if you use a non 443 port for the HTTPS API listening port, you cannot use config-sync

Something like this:

vyos@hvi-fw-p# set service config-sync secondary 
Possible completions:
   address              IP address
   key                  HTTP API key
   timeout              Connection API timeout (default: 60)
   port                 External HTTP API Port (default: 443)

Details

Version
-
Is it a breaking change?
Perfectly compatible

Event Timeline

Viacheslav triaged this task as Wishlist priority.May 1 2024, 5:35 AM

PR https://github.com/vyos/vyos-1x/pull/3384

set service config-sync secondary address '192.168.122.11'
set service config-sync secondary port '8443'
Viacheslav changed the task status from Open to In progress.May 1 2024, 7:12 AM
Viacheslav changed the task status from In progress to Needs testing.May 4 2024, 7:42 PM
Viacheslav moved this task from Open to Finished on the VyOS 1.5 Circinus board.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta (1.4.0-epa3) board.
dmbaturin renamed this task from Config-Sync - add API destination port number for secondary firewall to Add API destination port number for secondary firewall in config sync.May 11 2024, 8:10 PM
dmbaturin removed a project: VyOS 1.5 Circinus.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to improvement.