I am currently trying to route traffic from one Linux box (local VM for testing purposes) to my Linux (Debian) server with the intent to use NAT.
I was told to use IPSec to get my data to said server and decided that I would use Openswan to facilitate this scenario.
I have successfully installed the required packages but as an amateur I struggle with understanding the different IPs that have to be defined in the
This is an excerpt from an example found on the Debian wiki (including commented text by me):
left=10.15.109.36 #Is this the public (internet) IP? leftsubnet=192.168.50.0/24 #How do I find this one and whats the "/24"? leftsourceip=192.168.50.X #What is it and can it be deduced from the above? leftnexthop=10.15.109.5 #I think this should be my gateway, right? leftid=@vpngw1 #I assume this is something I can define myself?
I realize this might be a rather general question but I can assure you I did plenty of digging on this subject and could not find a comprehensive explanation.