Hey!
I have 3 Server with Ubuntu 20.04. Which one server works as VPN server and the other as client. I want the servers to communicate via openvpn. If a user for example open the website on my client server he's getting the connection over the clearnet (net_gateway) and only the data which get shared with the other server should get over OpenVPN for privacy reasons.
At this time the server blocks all incoming traffic so the Website and other services are not reachable. I try already with
push "Client-Server IP 255.255.255.0 net_gateway"
to make the Traffic on this IP goes through the clearnet but which is not working.
My Config is:
local *zensiert*
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
server-ipv6 fddd:1194:1194:1194::/64
push "redirect-gateway def1"
push "Client-Server-IP 255.255.255.0 net_gateway"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
Can anyone tell me how I can make the server reachable from outside?