Proxmox vm as openvpn client

tallal

New Member
Dec 9, 2012
1
0
1
I am running Proxmox @ home and openvpn server @ office.
I wonder if some one can guid me to connect a proxmox vm to my vpn.
I tried to connect proxmox directly to my vpn and it does but no traffic would rout to the vpn network and the proxmox simply loss the internet connection.
I would appreciate your help guys.

regards
 
I am running Proxmox @ home and openvpn server @ office.
I wonder if some one can guid me to connect a proxmox vm to my vpn.
I tried to connect proxmox directly to my vpn and it does but no traffic would rout to the vpn network and the proxmox simply loss the internet connection.
I would appreciate your help guys.

regards

Hi,
it's sounds like you do nasty things with the routing with openvpn?

I have on a test laptop (pve-host) also running an openvpn-connection without trouble.
But I don't change the default route through the openvpn-connection.
My client config looks like
Code:
tls-client
remote ip.of.ovpn.srv
port 1194
proto udp
dev tap
pull
script-security 2
resolv-retry infinite
nobind
cipher AES-256-CBC
auth SHA1
ca /home/user/.openvpn/ca.pem
cert /home/user/.openvpn/user.crt
key /home/user/.openvpn/user.key
daemon
user nobody
group nogroup
ping 15
ping-restart 45
resolv-retry 300
ping-timer-rem
persist-tun
persist-key
log /var/log/openvpn.log
verb 3
Like I wrote before - I push only two network routes through openvpn - without nameservice or so.

Udo
 

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!