Page 1 of 1

Simple problem but I can't figure out

Posted: Sun Mar 21, 2021 10:00 am
by dansleboby
Hi,
I have 2 NIC on my server
eno1 -> with a public ip 51.*.*.*
eno2 -> configure with static ip 192.168.111.1/24

I install the VPN server and client, on the client side I set a static ip 192.168.111.2/24 but I can't access 192.168.111.1 from my pc

I add eno1 and eno2 in the local bridge

My Goal it to have a local IP on an interface only accessible through the VPN for listening cert app only on a local address like admin interface

Thanks for help

PS: server => Debian 10, client => windows 10

Re: Simple problem but I can't figure out

Posted: Mon Mar 22, 2021 12:49 am
by eddiewu
I don't understand your question very well.
What do you mean by adding two adapters in the local bridge?
Anyway, make sure you know that there is a Linux kernel restriction that prohibits VPN client communicate with the host when the virtual hub is bridged to a physical adapter.
I am not exactly sure what your purpose is. If you just need to access the host from the VPN client, try setting up a local bridge with a virtual adapter instead of a physical one.