Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Strongswan VPN basic network configuration
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.
— 10.10.10.1 ping statistics —
7 packets transmitted, 0 received, 100% packet loss, time 5999ms
eth0 Link encap:Ethernet HWaddr 1a:79:97:7b:98:f8
inet addr:184.108.40.206 Bcast:220.127.116.11 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
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
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,
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.×