I have been going crazy trying to get these two networks to route to each other.. i was finally able to get at least routing from my edge router to the ubuntu server in the cloud. but now im having issues routing back. I was hoping someone could take a look at what ive got and let me know if im missing something..
First the server in the cloud server.conf
port 443
proto tcp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "route 10.8.0.0 255.255.255.0"
route 10.55.1.0 255.255.255.0 10.8.0.2 1
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_RuIq0po5d1S6uKBC.crt
key server_RuIq0po5d1S6uKBC.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
now the ovpn config file of my edge router
client
proto tcp-client
remote public.ip 443
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_RuIq0po5d1S6uKBC name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
#ignore-unknown-option block-outside-dns
#setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
and here is the ip route of the ubuntu server.. i figured it should be working..
root@joshopenvpn:~# ip route
default via 161.XX.XX.1 dev eth0 proto static
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.1
10.10.0.0/16 dev eth0 proto kernel scope link src 10.10.0.11
10.55.1.0/24 via 10.8.0.2 dev tun0 metric 1
10.136.0.0/16 dev eth1 proto kernel scope link src 10.136.0.4
161.XXX.XX.0/20 dev eth0 proto kernel scope link src 161.XXX.XXX.XX
Any help would be greatly appreciated..
Thank you !!!
also my network is the 10.55.1.0/24.. from my edge routers lan 10.55.1.0/24 i can reach the ubuntun server but i can not get back.)