How to create LAN and exposing only 1 IP for VPN?

Hi all,

I would like to do the following:

-create a LAN between my linode servers. (already done, they can ping each other)

-create 1 linode for openvpn (already done I am able to connect it)

-reach every further linode server through this VPN only (so deny all traffic on public IP-s on the non VPN servers).

My problem:

After I logged in to the VPN server I am not able to reach any other linode servers on their private lan IP address from the client. But from the client I can ping the OpenVPN server private lan interface. On this server the IP4 forwarding is enabled and on my other linode server I added a route to the 10.8.0.0/24 net (which is created by the vpn) through the OpenVPN private lan IP.

And yes I am also unable to ping from this server the 10.8.0.1 ip (which is the OpenVPN server VPN IP address).

Any idea what am I missing? Thanks in advance.

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct