Community discussions

MikroTik App
 
mattltm
newbie
Topic Author
Posts: 39
Joined: Sun Mar 07, 2010 10:10 pm

Running RouterOS CHR as a VPN server

Sun Jun 10, 2018 7:59 pm

I'm experimenting with RouterOS CHR and trying to use it as a L2TP/IPSec VPN Server. I've followed the tutorial linked below and have the VPN working (I can connect to it from a remote MacBook) but the remote client does not have internet access.

I know I'm missing a whole chunk of routing to enable internet access for the VPN clients but have no idea where to start! Can someone give me some help here?

Thanks.

https://manuth.life/l2tpipsec-vpn-serve ... -routeros/
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Running RouterOS CHR as a VPN server

Sun Jun 10, 2018 11:30 pm

just add a default route trough vpn at your client device.
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1199
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: Running RouterOS CHR as a VPN server

Mon Jun 11, 2018 8:36 am

Can you post your config?

I have a CHR in colo which it’s secondary job is a VPN server so I may be able to pick through it and compare to what I have.
 
mattltm
newbie
Topic Author
Posts: 39
Joined: Sun Mar 07, 2010 10:10 pm

Re: Running RouterOS CHR as a VPN server

Mon Jun 11, 2018 8:51 am

Thanks both for your replies.

The client device works fine when not connected to the VPN. When connected to the VPN, I can ping the VPN server but can not access the internet. I have a default route on the client device so I am thinking that I am missing some routing on the server.

I've taken a look at the server again and think I have worked it out. I added an L2TP interface and then assigned both the L2TP interface and Ether1 to a Bridge. Then I added a default route for the Bridge and it all seems to be working.

Thanks.
 
User avatar
CArdiles
just joined
Posts: 10
Joined: Fri Apr 07, 2017 11:00 pm
Location: Argentina

Re: Running RouterOS CHR as a VPN server

Mon Jun 18, 2018 8:43 pm

I have to ask this considering that you might be familiar with this info ..

Does CHR Licensing have any limits on the amount of PPPoE - PPTP - L2TP - EOIP connections?

Thanks !
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Running RouterOS CHR as a VPN server

Mon Jun 18, 2018 11:17 pm

Don't inject the unrelated topics and don't duplicate the posts.
 
martix77
just joined
Posts: 7
Joined: Thu Feb 15, 2018 1:44 pm

Re: Running RouterOS CHR as a VPN server

Mon Jun 18, 2018 11:29 pm

Hi!

Are you source natting the VPN IPs?

Could you please post the export of your config?
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: Running RouterOS CHR as a VPN server

Tue Jun 19, 2018 3:59 pm

you're missing nat/masquerade over the wan connection or for the ip pool that you assign to your clients.

also, on client, make sure "use default gateway" box is checked under ipv4 advanced.