route server side

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

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: 23
Joined: Wed Dec 16, 2020 10:32 am

route server side

Post by farhaadn » Sun Jan 24, 2021 6:17 am

Hi, I am using openvpn on mikrotik os
I am using route option on client file for routing
Is there any server side configuration to force client to route?

SpudHead
OpenVPN User
Posts: 20
Joined: Thu Nov 17, 2016 1:54 pm

Re: route server side

Post by SpudHead » Tue Jan 26, 2021 2:24 pm

push the route in the server config

push "route blah.blah.blah.blah"

Anything in the quotes is executed by the client as if it were a line in their config file.

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

Re: route server side

Post by farhaadn » Sat Jan 30, 2021 7:30 am

sry but there is no server config file,
I told you, I am using mikrotik

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

Re: route server side

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

anyone can help me please?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: route server side

Post by TinCanTech » Tue Feb 02, 2021 8:16 pm

Contact your server administrator.

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

Re: route server side

Post by farhaadn » Sat Feb 06, 2021 5:58 am

I am server administrator :D

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: route server side

Post by TinCanTech » Sat Feb 06, 2021 1:40 pm

Time to read the openvpn howto.

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: route server side

Post by 300000 » Sat Feb 06, 2021 4:18 pm

If you want to get help you need to read how to first and post all server config and details what you want to do and what you did.

People in here only help you if they can see what is wrong inside your config and recommen what to do next.

You only post what you want do to nothing more . How do people know your network subnet. Your clients and all info to make it work.

That is why nodody answer your questions and recommen you read how to .

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

Re: route server side

Post by farhaadn » Sun Feb 07, 2021 7:58 am

no need for my configuration about this issue,
I want this: when client connect to my openvpn that is setup on mikrotik OS, client get some route from mikrotik openvpn server

need for any more information? tell me and I give you

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: route server side

Post by 300000 » Sun Feb 07, 2021 10:48 am

You can do it yourself. Nobody know what ip address you want to push to client and what your server config to do when client connect. How can you expect someone can help you ?

The best person can do it is you and only you know what address want to push to client

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

Re: route server side

Post by farhaadn » Mon Feb 08, 2021 10:18 am

there is no matter what route I want to push to the client, for example: class 172.16.0.0/24 to tunnel gateway
and in Mikrotik os, there is no config file, just I create PPP, that's it

roll99
OpenVpn Newbie
Posts: 2
Joined: Thu Oct 21, 2021 10:32 am

Re: route server side

Post by roll99 » Thu Oct 21, 2021 10:45 am

Maybe the use of a profile in client parameters. Profile configuration in the PPP section.
https://wiki.mikrotik.com/wiki/Manual:P ... r_Profiles

Post Reply