Proxmox + OpenVPN ( Routing Problem )

  • Thread starter Thread starter jagrok
  • Start date Start date
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