How to get internet access in a remote RouterBoard using PPtP

Hi, this might be a basic question but i can’t resolve it.

I am giving internet access to a RouterBoard with a PPtP connection because i need to send emails with a script with usefull information of this router.
If i ping to google using the “interface” parameter, i’m being able to ping successfully. But then when i want to send an email (from tools) i can’t .

[support@location] > ping www.google.com interface=pptp-client
  SEQ HOST                                     SIZE TTL TIME  STATUS                                               
    0 172.217.28.228                             56  53 24ms 
    1 172.217.28.228                             56  53 23ms 
    2 172.217.28.228                             56  53 23ms 
    sent=3 received=3 packet-loss=0% min-rtt=23ms avg-rtt=23ms max-rtt=24ms



[support@location] > ping www.google.com                         
  SEQ HOST                                     SIZE TTL TIME  STATUS                                               
    0 172.217.28.228                                          timeout                                              
    1 172.217.28.228                                          timeout                                              
    2 172.217.28.228                                          timeout                                              
    3 172.217.28.228                                          timeout                                              
    sent=4 received=0 packet-loss=100%

What i am doing wrong?.
Regards.

so, you want to get connection via PPtP?

Yes, the topology, routing, nat, and security setings of my network don´t let me directly internet access in these routerboard, only pptp access passthrough OK.
But i have a static route ip address with distance 1 (where i am routing the clients)
and then PPTP dinamic route with distance 0.

I don’t want to change the way of clients are being routing with the old route with distance 1. I only need the pptp connectivity for sending emails reports.

This is my pptp client setup. (i dont set up “add default route”) because i’m afraid to change the default route of my clients to this new distance. Please Excuse me for my poor knowledge in these area.

Thanks

looks like impossible, because the meaning of PPTP is tunneling, different then PPPoE, but go ached and let me know when you do it

If you do a tracert for a client computer behind the pptp, where does it start timing out?

You will have to have some routing, possibly with a second routing table specific for this purpose
and selected by a routing mark. The router has to know that it has to use your PPTP interface just
as you show in your ping example.

What hapen if i set up “Add default route”? What distance it will be put?
I want the pptp like a second connection only for self router purposes.
What i could test? (taking care to de first routing with distance 1)

That will not help you.
I advise you to setup a mail server or relay inside your network and send the mails there,
and if desired forward them from there to internet (at a location where internet is configured as normal).

Thanks,

IMHO, this should be resolved using nat forwarding or using redirect.

Could be posible to forwarding SMTP from localhost to out-interface=pptp-client ?

Regars.