D
D
DmitryKoterov2013-03-12 12:21:39
linux
DmitryKoterov, 2013-03-12 12:21:39

Which VPN client to run inside a linux openvz container?

Please tell me how to establish a VPN connection to the “other side” from a linux machine (openvz container) with IP address aaaa if “that side” reported the following parameters :

Our external point is IP xxxx
security ike proposal isakmp-policy authentication-method pre-shared-keys
security ike proposal isakmp-policy dh-group group2
security ike proposal isakmp-policy authentication-algorithm sha1
security ike proposal isakmp-policy encryption-algorithm 3des -cbc
security ike proposal isakmp-policy lifetime-seconds 3600
security ike policy ipsec mode main
security ike policy ipsec proposal-set standard
security ike policy ipsec pre-shared-key ascii-text
KEY yyyyyyyyyyy
Access Policies aaaa/32 -> bbbb/32

The ultimate goal is to get access from aaaa to bbbb through this VPN. I looked at different VPN clients, one of them is vpnc, but there the config looks something like this:

# cat /etc/vpnc/default.conf
IPSec gateway xxxx
IPSEC ID ?? ?
IPsec secret???
xauth username ???
Xauth password???

It is not clear whether vpnc is not suitable for this kind of connection at all, or whether some other config is needed there, or something else. The “other side” also says that a full-fledged “site-to-site VPN” is needed, but there is no information why exactly and what is the difference.

Can you please tell me how to connect with this information?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dgeliko, 2013-03-12
@dgeliko

This IPSec over OpenSwan will do just fine with these options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question