Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As you see, neither 10.8.0.1 nor 10.8.0.2 are present anywhere in the config file. I can ping 10.8.0.1 from my client, but not 10.8.0.2 and I don't seem to be able to find any interface.
What is tunnel type, site-to-site or remote access?
Sorry, I don't understand your question well enough to answer...
If you tell me where to look for this information, I'll post it here.
The usage of this VPN is typical. I have a server (the 'left' machine) through which I transmit all the information from the client. I.e. when I want to access Google on the client, I make it through the server.
I recommend not posting key files in order to maintain your own security.
10.8.0.x are default IP addresses that openvpn uses for establishment of links.
On your "tun1" connection, it indicates that it is a "point-to-point" connection (that's what the "P-t-P" refers to), which has no particular need of IP addresses, if I didn't send it, the other side must have (though usually IP addresses will be assigned). Openvpn will frequently allocate 10.8.0.1 to the "server" side of the connection and 10.8.0.2+ to the various connecting clients, depending upon the specific config of the openvpn server. Granted, most of this is probably trivia - but just some answers to your questions!
I have a small concern that the IP address you selected (192.168.0.1) is on a completely different subnet configured (10.1.x.x/16)...but I am not as familiar with strongSwan, so someone familiar with that should probably offer better advice, here...
You *WILL* likely have a TUNNEL IP (10.8.x.y or 10.9.x.y) - one on the client side and one on the server side. You will *ALSO* likely have a subnet on the server side and it looks like you have one on the client side, too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.