Page 1 of 1

Cannot route my VPN clients to another interface on my server

Posted: Mon Aug 16, 2021 3:27 pm
by olivier83
Hello,

I turn to this forum because I did not have the help expected on another forum.

At the moment I am working on VMs.

I have the 192.168.4.0/24 network which is a network without internet. (VPN client to server)
my second network is 192.168.2.0/24 which is my network which allows me to go out on the internet.

my server has two interfaces, one to allow my vpn clients to connect to the server:
ens33:
192.168.4.10/24

and the second, with a routing will allow my clients to go out on the internet.
ens34
192.168.2.10/24
Gateway 192.168.2.2

tun0
10.8.0.0/27


###
the problem is that I don't know how to route my TUNX tunnel to ens34.

What am I missing so that my customers can communicate with the internet?

If in addition someone masters the iptable or nftable, I will take advice?

thanks in advance

Re: Cannot route my VPN clients to another interface on my server

Posted: Tue Aug 17, 2021 1:06 pm
by TinCanTech
This is network administration not Openvpn.

This is clearly work for-profit.

If you require professional assistance then you can contact me privately: tincantech at protonmail dot com (Fees will apply)