The setup is like this :
Ubuntu server has two virtual network interfaces :
eth0 (which with this connects to internet)
Tun0 (Which is created with Openvpn connection which is using the following config to not tunnel the whole device and a set range of IPs)
route-nopull
route 10.0.0.0 255.0.0.0
and EtherSoft server is running With secureNAT enabled and DHCP server giving out IPs in the range of 192.168.30.1 - 192.168.30.200 255.255.255.0
and the default gateaway with the created interface using SoftEther server will be 192.168.30.1
so How do I make clients traffic ( that are connected to the server through eth0) to be forwarded to OpenVPN connection so like the clients are connected to that OpenVPN server while they connect to the original IP of the server
PS : net ipv4 forward is enabled
How to Route outbound traffic through an OpenVPN Tun drive with SoftEther Server manager on linux
-
- Posts: 3
- Joined: Sat Oct 15, 2022 10:18 am
-
- Posts: 1291
- Joined: Sun Feb 14, 2021 10:31 am