Cannot route my VPN clients to another interface on my server

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
olivier83
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 16, 2021 3:26 pm

Cannot route my VPN clients to another interface on my server

Post by olivier83 » Mon Aug 16, 2021 3:27 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Tue Aug 17, 2021 1:06 pm

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)

Post Reply