Page 1 of 1

how to route traffic over sstp connection?

Posted: Tue Oct 26, 2010 10:36 pm
by bigguns
Hi there,
I've got my SSTP connection fully working now, but I'm not sure how to route all traffic (once connected) over this VPN.

Could someone help me with the rules.

Thanks.

Re: how to route traffic over sstp connection?

Posted: Tue Oct 26, 2010 10:45 pm
by fewi
http://wiki.mikrotik.com/wiki/Manual:In ... STP_Client
add-default-route (yes | no; Default: no) Whether to add SSTP remote address as a default route.
Wouldn't that do the trick? No rules required.

Otherwise the same technique as anywhere else applies: add a route for destination out 0.0.0.0/0 with a gateway IP address of the other side of the tunnel, or the interface name directly if it's a point to point interface.

Re: how to route traffic over sstp connection?

Posted: Thu Oct 28, 2010 8:06 pm
by bigguns
that doesn't actually work - for some reason. How would I do it manually?

Re: how to route traffic over sstp connection?

Posted: Thu Oct 28, 2010 8:19 pm
by mrz
If default route is used to establish sstp connection, then of course another default route over sstp is not going to work. You have to add static route pointing to sstp server then default route over sstp will work.