BPS: Change IP of outgoing connections

Idaho

Renowned Member
Aug 27, 2013
9
1
66
My PBS server have two IP addresses on the same interface:

# ip a l dev bond0 | grep "inet "
inet x.x.x.230/24 scope global bond0
inet x.x.x.232/32 scope global bond0

I'd like PBS to use second one (x.x.x.232) for outgoing connections. Ideally for certain remotes, but if I could use second IP for all remotes it would be great too. How it can be done?
 
i guess you'd have to setup the route manually with e.g. the 'ip' tool (can probably be done in the /etc/network/interfaces in the post-up section of the interface, see https://wiki.debian.org/NetworkConfiguration for a general debian network config manual
 
i guess you'd have to setup the route manually with e.g. the 'ip' tool (can probably be done in the /etc/network/interfaces in the post-up section of the interface, see https://wiki.debian.org/NetworkConfiguration for a general debian network config manual

Thank you. I just need PBS service to use different IP for outgoing connections, other services on this server have to use primary IP. I think I could use network namespaces for this. What process handle connections during sync process? proxmox-backup-proxy, proxmox-backup-api, something else?
 
the proxmox-backup-proxy handles these connections
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!