Hi,
My router os version : RouterOS 6.33.5
I created VPN server. (PPTP)
VPN connection success. But, no internet connection.
Please help me.
/ip firewall filter
add chain=input dst-port=8291 protocol=tcp
add chain=input port=1723 protocol=tcp
add chain=input protocol=gre
add chain=input protocol=icmp
add chain=forward
add chain=input
add chain=output
/ip firewall nat
add action=masquerade chain=srcnat log=yes log-prefix=MASGU
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
You need to look into split tunneling. I have used this on Cisco routers before, I haven not set it up on a Mikrotik yet.
It’s interesting…
So I was playing around with L2TP when I got off of work and setting it up so I could reach back out onto the internet. I got it working rather trivially…
I added the VPN pool ip address range to my Networks tab under DHCP server.
I then created a new src-NAT with masquerade specifically for the VPN network. My VPN connected device, iPhone, could then reach back out onto the internet - where as it could not before.
I could then disable that specific src-nat and it still worked.
Just something you can try.
I don’t have a solution for your problem, just a recomendation. Rather then using PPTP use SSTP with certificate. Its simpler, safer and because it works over port 443 it will work everywhere, while PPTP may not work on some more restrictive networks, that only allow port 80 and 443, like some free hotspots, hotels,etc…
Create certificate :
http://blog.codexploit.si/2015/12/generating-self-signed-certificate-for.html
Setup VPN :
http://blog.codexploit.si/2015/12/mikrotik-sstp-server-setup.html
These are not the solution. Please help me.
What do you masquerade? Can you ping the gateways?