Strongswan VPN basic network configuration

Hey, I’ve set up a Ubuntu 16.04 vps and fired up a Strongswan VPN. I managed to connect to the VPN with Windows client as well with my DVR with GSM modem.

When I hit ipconfig on windows client amont others I get:

PPP adapter DO VPN:

Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . :

Also, when visitng whatismyip I get my VPSs IP address so routing is working fine.

What I actually want to do is to have access to other clients on the VPN network. Is that at all possible cause I got confused?

When I try to ping my windows client vpn address from the server I get nothing:

root@ubuntu-s-1vcpu-1gb-fra1-01:~# ping PING ( 56(84) bytes of data. ^C — ping statistics — 7 packets transmitted, 0 received, 100% packet loss, time 5999ms

root@ubuntu-s-1vcpu-1gb-fra1-01:~# ifconfig eth0 Link encap:Ethernet HWaddr 1a:79:97:7b:98:f8 inet addr: Bcast: Mask: inet6 addr: fe80::1879:97ff:fe7b:98f8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7289 errors:0 dropped:0 overruns:0 frame:0 TX packets:7028 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2597792 (2.5 MB) TX bytes:2402868 (2.4 MB)

lo Link encap:Local Loopback inet addr: Mask: inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:516 errors:0 dropped:0 overruns:0 frame:0 TX packets:516 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:44023 (44.0 KB) TX bytes:44023 (44.0 KB)

Is is something with configuration or maybe you have to connect server as a client as well? As you can see I am begginner here.

Thanks a lot,


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


I will recommend starting with this tutorial on how to setup IKEv2 VPN Server with StrongSwan: