Strongswan VPN basic network configuration

January 31, 2018 896 views
VPN Ubuntu 16.04

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. . . . . . . . . . . : 10.10.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0

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 10.10.10.1 from the server I get nothing:

root@ubuntu-s-1vcpu-1gb-fra1-01:~# ping 10.10.10.1
PING 10.10.10.1 (10.10.10.1) 56(84) bytes of data.
^C
--- 10.10.10.1 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:159.89.10.55 Bcast:159.89.15.255 Mask:255.255.240.0
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:127.0.0.1 Mask:255.0.0.0
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,

V

Be the first one to answer this question.