Proxmox + OpenVPN ( Routing Problem )

J

jagrok

Guest
Dear All

I have a Proxmox on dedicated servers, i have a set up vmbr0 ( 111.111.111.111 ) vmbr1 ( 222.222.222.222 )

111.111.111.111 IP is primary Ip of proxmox server, and this 111.111.111.111 on port 1194 have a set up OPENVPN server

Virtual Machine on Debian have a IP vmbr1 and this ip is routed via command

ip route add 222.222.222.222 dev vmbr1

On this 222.222.222.222 i also set`s openVPN server on port 1195

And when i`m trying to connect to 111.111.111.111 or 222.222.222.222 then i`m reciving command every 10 seconds
Incoming packet rejected from SLAVE.IP:1195[2], expected peer address: MASTER.IP:1194 (allow this incoming source address/port by removing --remote or adding --float)

I can disabled this adding line to client configuration "float" and then everything should be ok.
But i readed on OpenVPN forums that this is a problem of routing.

Could you help me with it ?

Thanks and Best Regards
 

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!