A simple diagram of this setup:
Could someone help me find the (possibly stupid) fault in my config (below)?
Important parts of the config:
VPN clinets get IP from
Code: Select all
/ip pool
add name=vpn-pool1 ranges=10.104.17.10-10.104.17.250
Code: Select all
/ip firewall mangle
add action=mark-routing chain=prerouting connection-state="" dst-address=\
!10.0.0.0/8 in-interface=all-ppp log=yes log-prefix=MANGLE1 \
new-routing-mark=vpn-users passthrough=no src-address=10.104.17.0/24
Code: Select all
/ip route
add distance=1 gateway=<internal_router> routing-mark=vpn-users
add distance=2 gateway=<internet_gateway>
add distance=1 dst-address=10.0.0.0/8 gateway=<internal_router>
add distance=1 dst-address=172.16.0.0/12 gateway=<internal_router>
Code: Select all
[admin@VPN] > /ip ro pr
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 A S 0.0.0.0/0 <internal_router> 1
1 A S 0.0.0.0/0 <internet_gateway> 1
2 A S 10.0.0.0/8 <internal_router> 1
3 ADC 10.104.17.250/32 10.104.17.1 <sstp-ppp1> 0
4 A S 172.16.0.0/12 <internal_router> 1