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
simple VPN scenario possibility
I would like to ask you guys if connection such as below is possible:
- My computer with Windows
- Device with VPN capability (client)
- StrongSwan VPN Server on Digital Ocean VPS with only one internet interface:
eth0 Link encap:Ethernet HWaddr 1a:79:97:7b:98:f8
inet addr:159.x.x.x Bcast:159.x.x.x Mask:255.255.240.0
inet6 addr: xxdfdfsdf Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:595 errors:0 dropped:0 overruns:0 frame:0
TX packets:502 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:270080 (270.0 KB) TX bytes:93217 (93.2 KB)
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:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:11840 (11.8 KB) TX bytes:11840 (11.8 KB)
I want to create such a connection
Windows client (me) connects remotly to VPN on VPS.
Device with VPN capability also connects to the VPN on VPS.
Windows client can access devices web interface via it’s internal IP address of the virtual network.
Client1 -> StrongSwan on VPS <- client2
Client1 accessing client2 on let’s say 192.168.1.2
Is that possible considering only one interface is installed on the VPS?
I can succesfully connect with VPN and it routes my internet traffic through itself. Whatismyip gives me my VPS’s address. Is that all that can be achieved in this setup or could I access other client’s resources as they were in LAN?