Page 1 of 1

How To or What Are the Options of Adding ROUTES to Server.conf and Client.conf ?

Posted: Fri Nov 10, 2023 3:47 pm
by TheVPN
Hello,
How to add Route between OpenVPN Server using server.conf and OpenVPN Client using client.conf ?

The host 10.80.70.10 behind OpenVPN client cannot reach the host 192.168.80.12 behind OpenVPN Server.

I am establishing the OpenVPN Tunnel successfully by running this comamnds on the Modem in HO

Code: Select all

/mnt/nvram/ovpn# openvpn --config  server.conf
and remote Modem in Branch

Code: Select all

/mnt/nvram/ovpn# openvpn  --config  client.conf

server.conf

Code: Select all

	
	dev tun
	cipher AES-256-CBC
	auth sha256
	comp-lzo
	ifconfig 11.11.11.1  11.11.11.2
	secret myKey.key
  
client.conf

Code: Select all

	remote 172.18.18.1
	comp-lzo	
	dev tun
	auth sha256
	cipher AES-256-CBC
	ifconfig 11.11.11.2   11.11.11.1
	secret myKey.key
  
+++
How to add the route in each .conf file to enable the routing via the tunnel ?


Thanks