Hi, I’m having some problems trying to deploy a VPN net2net tunnel using NethServer on a EC2 instance. This is what I did:
Deployed a EC2 centos 7 instance on a public subnet
Installed NethServer
Configured the main network interface as red (WAN)
Configured the firewall to allow VPNs
I did the same on another EC2, different account and network settings, but the tunnel remains down (Not active). I’m quite sure the problem is related to the network configuration, since I’m not really shure how to tell NethServer I’m in a public subnet with a public IP assigned.
Thank you for the answer.
I know the difference between a public address and a private address; I also followed the wiki about creating the dummy interface; so now this is how the configuration looks like:
On both sides (clearly the subnets are different). Still, the tunnels are marked as “Not active”. I don’t quite understand what the dummy interface is useful for; i read that the VPN require a red and a green interface to work properly; the tunnel remains down anyway.
Ok, I had the great idea to check the logs and found that actually the two machines were trying to enstablish the tunnel but were failing the authentication because of the identifier; fixed that and now the tunnels are up. Thanks a lot!