I've been trying to set up a pptp client connection for a few days now without success. I've read the forums where people appear to have a similar problem to mine, but were unable to solve it. I've read the wiki pages - and the configuration seems very simple (masquerade, marking packets) - but I'm still unable to allow traffic to go over the pptp connection.
Rather than list the configurations I've tried (as I may have been doing them incorrectly), I hope I can start afresh and have somebody tell me what my next steps should be.
My current basic router configuration without a pptp connection:
Code: Select all
[admin@MikroTik] /interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU MAX-L2MTU
0 R WAN (ether1) ether 1500 1526 1526
1 R LAN (ether2) ether 1500 1522 1522
[admin@MikroTik] /ip dhcp-client> print
Flags: X - disabled, I - invalid
# INTERFACE USE ADD STATUS ADDRESS
0 WAN (ether1) yes yes bound 188.95.41.184/25
[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.1.1/24 192.168.1.0 LAN (ether2)
1 D 188.95.41.184/25 188.95.41.128 WAN (ether1)
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=192.168.1.0/24 out-interface=WAN (ether1)
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 188.95.41.129 1
1 ADC 188.95.41.128/25 188.95.41.184 WAN (ether1) 0
2 ADC 192.168.1.0/24 192.168.1.1 LAN (ether2) 0
Adding a pptp client connection:
Code: Select all
lags: X - disabled, R - running
0 name="pptp-out1" max-mtu=1460 max-mru=1460 mrru=disabled connect-to=81.171.97.2 user="fiveturns" password="*****" profile=default-encryption
add-default-route=no dial-on-demand=no allow=mschap2
Notice the connection doesn't add a default route. Over the last few days, I've been adding a static route with a route mark etc following wiki pages/advice that hasn't yet worked. So at this point, I'm hoping somebody can point me in the correct direction.
What static route should I add? What configuration can I use to prevent the timeouts, ping the pptp connection's gateway and eventually, allow me to, for example, make connections to dst port 80 travel over the pptp connection?
The pptp connection is to one of ipvanish.com's VPN servers - if that is relevant at all.
Thank you in advance and apologies for the verbose post / incorrect terminology (I'm new to both Mikrotik products & networking in general).