Community discussions

MikroTik App
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

PPPTP server on a RB951G-2HnD with 3g connection

Tue Mar 26, 2013 1:31 pm

Hi,

We want to use RB951G-2HnD for our employees that are working outsite,
They have a 3G usb adapter.
We want to use that in the RB951G-2HnD so they have internet.

For remote help we want a PPPTP server on these devices.
Is that possible with random WAN IP?

I create a scipt that send me an email with the WAN IP (PPP interface) after 2 minutes when the RB951G-2HnD is started.
SO I know the actual WAN IP.
But now the PPPTP server.
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: PPPTP server on a RB951G-2HnD with 3g connection

Tue Mar 26, 2013 1:41 pm

 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Tue Mar 26, 2013 1:50 pm

Thanks a lot
But does it allso work if the WAN IP is not fixec on that device?
Every time the device is turned of and on it gets an other IP.

I want PPPTP to the RB951G-2HnD.
So not to the office got from the office to the eployee how is every day at an other place with the RB951G-2HnD
 
User avatar
stmx38
Long time Member
Long time Member
Posts: 648
Joined: Thu Feb 14, 2008 4:03 pm
Location: Moldova, Chisinau

Re: PPPTP server on a RB951G-2HnD with 3g connection

Tue Mar 26, 2013 2:15 pm

49er
As I understand PPTP listen on all ROS IP. In this case you can connect to the WAN IP.
Maybe WAN IP is changed during the day ? Or maybe provider block TCP/1723 port for PPTP ?

http://wiki.mikrotik.com/wiki/Dynamic_D ... for_dynDNS
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Tue Mar 26, 2013 2:37 pm

Hi,

I have done this:

[admin@MikroTik] interface pptp-server server> set enabled=yes


[admin@RemoteOffice] /ppp secret> add name=Laptop service=pptp password=123
local-address=10.1.101.1 remote-address=10.1.101.100

But don't know what to fill in by local-address and remote-address.
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: PPPTP server on a RB951G-2HnD with 3g connection

Thu Mar 28, 2013 5:41 am

hi share me your chat id or ip address of router on which you need to configure PPtp Server
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Thu Mar 28, 2013 11:11 pm

Hi, do you mean my wan IP address?
Or the addres the Mikrotik has?
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: PPPTP server on a RB951G-2HnD with 3g connection

Fri Mar 29, 2013 7:22 am

yup

WAN IP
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Fri Mar 29, 2013 8:31 am

The WAN ip is 80.101.110.68
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: PPPTP server on a RB951G-2HnD with 3g connection

Fri Mar 29, 2013 8:47 am

can you start team viwer or Chat soon

what is login & password for RB ( 80.101.110.68 )
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Fri Mar 29, 2013 11:19 am

Hi,

I create a user for you.
Username: samir
Passord: password
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Thu Apr 04, 2013 12:52 pm

can you start team viwer or Chat soon

what is login & password for RB ( 80.101.110.68 )
When do you have time to look at the connection???
 
petterg
Member Candidate
Member Candidate
Posts: 230
Joined: Wed Sep 16, 2009 2:55 pm

Re: PPPTP server on a RB951G-2HnD with 3g connection

Thu Apr 04, 2013 9:44 pm

I don't really see why you want the pptp server for this.

If I get you right you have users traveling with laptop and a mikrotik and you want to be able to get onto to lan-side of the box i order to i.e. do rdp to the users computer.
The way I do this is to setup sstp-server on the office router.
On the client router I set sstp-client to dial up to the office router.

Now, on the office router, where you set username and password for the for the dial in you also need to add the client router local subnet as route.

With this setup you'll be able to remoteadmin the client router, and you'll also have direct routing from the office to the client subnet.
If you're not in the office when they need support you can just vpn into the office (and do manual route add on your pc if needed) and you have access to the clients subnet.

(Using pptp would do just as well, but I prefer sstp as it will work even when the client router is behind some firewall that doesn't allow pptp. This will not make you dependent on a 3G with public ip. The user can connect the client router to any network that provides dhcp and allows outbound port 443 (https) connections.)
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: PPPTP server on a RB951G-2HnD with 3g connection

Fri Apr 05, 2013 11:02 am

Hi,

Thanks for your reply and sugestion.
Touse sstp-server in stead of pptp.
I'm not familiar with sstp-server. So if you can tell me more about this and how to setup (that will help me a lot.)

What I want is to be able to help our employees if they are on location somewhere and have questions.
So I can login easely on there network and I'm part of there netwok.
So if they have connected a printer or other device allso to the mikrotik I can manage that device allso from my office.
That is what I want.
 
petterg
Member Candidate
Member Candidate
Posts: 230
Joined: Wed Sep 16, 2009 2:55 pm

Re: PPPTP server on a RB951G-2HnD with 3g connection

Sat Apr 06, 2013 12:28 am

You set up sstp exactly like you set up pptp. Only difference (for a basic setup) is that you select sstp every place you would otherwise select pptp. And in the firewall you need to open port 443, not 1723 (unless you select a custom port in the config)

To secure the sstp you should also create a certificate, import it to both routers and set the sstp server/client to use this cert. Self signed cert work for mikrotik-mikrotik. If you want windows vpn to use sstp (config exactly like how you would set up pptp), the cert needs to be official. (Ppl say windows also can use selfsigned certs for sstp, but I haven't been able to make that work.)

Assumed you have an mikrotik somewhere with a static public ip that can act as sstp (or pptp) server, I think this is the best solution for your needs.

Who is online

Users browsing this forum: andy76sz, davidhaag, kaptan and 33 guests