Re: Need help with openvpn
Svante Signell, le Tue 21 Oct 2014 17:11:28 +0200, a écrit :
> On Tue, 2014-10-21 at 15:33 +0200, Samuel Thibault wrote:
> > Svante Signell, le Tue 21 Oct 2014 14:04:26 +0200, a écrit :
> > > openvpn --remote 10.0.2.2 --port 5557 --dev tun --dev-node
> > > openvpn --remote 10.0.2.2 --port 5556 --dev tun --dev-node
> >
> > Err, just realizing: what is 10.0.2.2? If you want to make two instances
> > of openvpn talk with each other, you have to make them connect to each
> > other. Or else there is another openvpn daemon running somewhere else
> > you haven't told us about?
>
> I use port forwarding to get access to the kvm images, and 10.0.2.2 is
> the gateway address. Each kvm instance has the same address 10.0.2.15,
> with different port numbers.
>
> So if I want to copy from one image to another I do e.g.
> scp -P 5556 10.0.2.2:file .
Ok, that should work indeed. Do you actually see openvpn instances
connecting to each other in their logs?
Samuel
Reply to: