add route

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
farhaadn
OpenVPN User
Posts: 21
Joined: Wed Dec 16, 2020 10:32 am

add route

Post by farhaadn » Mon Feb 01, 2021 9:22 am

Hi, I have opvn config file like this below:
Client config

client
dev tun
proto tcp
remote test.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-256-CBC
auth SHA1
auth-user-pass
verb 4
route 10.0.0.0 255.0.0.0


I remove the default route and add a route for IP class 10.0.0.0/8
when I want to import a file in ubuntu-desktop 20.04, I can't add it and it is for the gateway for my route, in the IPV4 tab I have this below:
https://ibb.co/svv9zgt
Last edited by Pippin on Mon Feb 01, 2021 12:44 pm, edited 1 time in total.
Reason: Formatting

farhaadn
OpenVPN User
Posts: 21
Joined: Wed Dec 16, 2020 10:32 am

Re: add route

Post by farhaadn » Tue Feb 02, 2021 7:44 am

anyone can help me please?

farhaadn
OpenVPN User
Posts: 21
Joined: Wed Dec 16, 2020 10:32 am

Re: add route

Post by farhaadn » Sat Feb 06, 2021 6:00 am

what can I do???

farhaadn
OpenVPN User
Posts: 21
Joined: Wed Dec 16, 2020 10:32 am

Re: add route

Post by farhaadn » Mon Mar 01, 2021 9:02 am

I just add a gateway to the end of the route command like below and problem solved
route 10.0.0.0 255.0.0.0 192.168.250.1

Post Reply