Saturday, October 18, 2008

How to setup VPN in parallels windows container

How to setup VPN in parallels windows container.
I will describe my way:

create a new VE, allocate IP, start it and go to network connections->TCP/IP settings, click OK there to save default gateway properly.

enable VPN in this VE:

> vzctl set VEID --vpn on --save
reboot the VE:

> vzctl restart VEID
then inside the VE we need to setup RRAS properly (vzctl set --vpn in fact only _allows_ vpn to be enabled, but not confiugres it).

Go to Routing and remote access, setup all needed options (LAN rounting, dial-in, VPN server, set IP for internal adapter), start RRAS.

Go to NAT/firewall section, add venet0 and internal

enable NAT on venet0, configure IPs, configure excluded addresses (optional).

Add a user, allow dial in, assign a static internal IP (optional). That is it.

No comments: