Hello all,
First post here and hoping I can get this resolved. I’m having a heck of a time getting IOS devices to VPN into my Tik network behind a Verizon modem/router.
I have the RB3011 set in the Verizon DMZ. I’ve also tried adding port forwarding rules (UDP 500, 1701, 4500 any, GRE, ESP and AH) to the RB3011 on the Verizon as a “pass-through”, but still will not connect.
PPTP connections work without any issues connecting and have full access to the network.
Does Verizon block these ports or something??
I’ve also tried using L2TP or IPSec on the IOS devices and neither will work.
Does anyone have any input for me that I could maybe track down or research?? I’d really appreciate it!!
Thanks,
cmaney
January 15, 2018, 4:51pm
2
The easiest/best solution is to call Verizon and tell them you need the modem in Bridge mode. Depending on the model of modem, they sometimes have a setting called “Cascaded router” that can also work, but is a bit counterintuitive to setup. They should be able to either do it remotely and walk you through it in a few minutes (after you finally get them on the phone).
Basically, the Mikrotik is already a better firewall than their device, and by putting them in bridge mode, you know they’re not filtering anything to you. Plus, you avoid the double-NAT of the Mikrotik and their router/modem.
Good luck!
Thank you for the reply.
This is an option. But doesn’t this solution stop any of the Verizon apps, callerid, and STB Guide from functioning? My client would like to retain all of these.
The modem/router in question is the newer Actiontec MI, something or other. Can’t remember the model number off the top of my head.
Cmaney is correct. Bridge mode is the way to go here.
I just did this for a client. The Guide works by downloading the guide and other information and then sending it over the COAX cable to the boxes. All you have to do is plug the WAN port on the verizon router into an open port on the Mikrotik. Add that port to the bridge. Essentially, you are double NATTING the Verizon box, but that doesn’t matter. I would also turn off WiFi on the Verizon router since the Actiontek routers Verizon uses are basically worthless.
Ok, thanks for the reply. I guess really the only thing standing in the way is dealing with Verizon tech support to allow my Tik to plug into the ONT? Correct?
I’ll have some hurdles to get the required info but seems doable.
OK, hey guys, I need to re-hash this.
We have changed topology for this site as follows:
ONT Ethernet> Tik Ether 1 (Gateway)> Other local Lan equipment, including Verizon modem/router.
Verizon is receiving private IP from tik and the VOD, on-screen guide are working normally.
Client doesn’t care about fios app, as long as we get vpn from his iphone.
Here is my config that I set on the Tik. Still unable to connect. If anyone can see an issue, could you please point it out?? Much appreciated!!
/interface bridge
add admin-mac=CC:2D:E0:15:DE:EE auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether6 ] name=ether6-master
set [ find default-name=ether10 ] comment=“verizon fios”
/interface list
add exclude=dynamic name=discover
add name=mactel
add name=mac-winbox
add name=WAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip ipsec policy group
add name=ipsec+l2tp
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=
aes-256-cbc,aes-192-cbc,aes-128-cbc,3des lifetime=8h
add enc-algorithms=aes-256-cbc name=l2tp-ipsec
/ip pool
add name=dhcp ranges=10.13.1.10-10.13.1.254
add name=vpn ranges=192.168.89.2-192.168.89.255
add name=ipsec-pool ranges=10.13.2.2-10.13.2.20
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/ppp profile
add change-tcp-mss=yes dns-server=10.13.2.1 local-address=10.13.2.1 name=
ipsec+l2tp remote-address=ipsec-pool use-upnp=no
set *FFFFFFFE local-address=192.168.89.1 remote-address=vpn
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=ether6-master
add bridge=bridge comment=defconf hw=no interface=sfp1
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=ether7
add bridge=bridge interface=ether8
add bridge=bridge interface=ether9
add bridge=bridge interface=ether10
/ip neighbor discovery-settings
set discover-interface-list=discover
/interface l2tp-server server
set authentication=mschap2 default-profile=ipsec+l2tp enabled=yes max-mru=1460
max-mtu=1460 use-ipsec=yes
/interface list member
add interface=ether2-master list=discover
add interface=ether3 list=discover
add interface=ether4 list=discover
add interface=ether5 list=discover
add interface=sfp1 list=discover
add interface=ether6-master list=discover
add interface=ether7 list=discover
add interface=ether8 list=discover
add interface=ether9 list=discover
add interface=ether10 list=discover
add interface=bridge list=discover
add interface=bridge list=mactel
add interface=bridge list=mac-winbox
add interface=ether1 list=WAN
/interface pptp-server server
set enabled=yes
/interface sstp-server server
set default-profile=default-encryption enabled=yes
/ip address
add address=10.13.1.1/24 comment=defconf interface=ether2-master network=
10.13.1.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=10.13.1.0/24 comment=defconf dns-server=8.8.8.8,8.8.4.4 gateway=
10.13.1.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=10.13.1.1 name=router
/ip firewall filter
add action=accept chain=input comment=“defconf: accept ICMP” protocol=icmp
add action=accept chain=input comment=“defconf: accept established,related”
connection-state=established,related
add action=accept chain=input comment=“allow l2tp” dst-port=1701 protocol=udp
add action=accept chain=input comment=“allow pptp” dst-port=1723 protocol=tcp
add action=accept chain=input comment=“allow sstp” dst-port=443 protocol=tcp
add action=accept chain=input connection-state=new in-interface=ether1
protocol=ipsec-ah src-address=0.0.0.0
add action=accept chain=input connection-state=new in-interface=ether1
protocol=ipsec-esp src-address=0.0.0.0
add action=accept chain=input connection-state=new dst-port=500 in-interface=
ether1 protocol=udp src-address=0.0.0.0
add action=accept chain=input connection-state=new dst-port=1701 in-interface=
ether1 protocol=udp src-address=0.0.0.0
add action=accept chain=input connection-state=new dst-port=4500 in-interface=
ether1 protocol=udp src-address=0.0.0.0
add action=drop chain=input comment=“defconf: drop all from WAN” in-interface=
ether1
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack”
connection-state=established,related
add action=accept chain=forward comment=“defconf: accept established,related”
connection-state=established,related
add action=drop chain=forward comment=“defconf: drop invalid” connection-state=
invalid
add action=drop chain=forward comment=
“defconf: drop all from WAN not DSTNATed” connection-nat-state=!dstnat
connection-state=new in-interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat comment=“defconf: masquerade” out-interface=
ether1
add action=masquerade chain=srcnat comment=“masq. vpn traffic” src-address=
192.168.89.0/24
add action=masquerade chain=srcnat comment=“masq. ipsec traffic” disabled=yes
src-address=10.13.2.0/24
add action=dst-nat chain=dstnat dst-port=81 in-interface=ether1 protocol=tcp
to-addresses=10.13.1.30 to-ports=81
add action=dst-nat chain=dstnat disabled=yes dst-port=81 in-interface=ether1
protocol=udp to-addresses=10.13.1.30 to-ports=81
add action=dst-nat chain=dstnat disabled=yes dst-port=84 in-interface=all-ppp
protocol=tcp to-addresses=10.13.1.52 to-ports=84
/ip ipsec peer
add address=0.0.0.0/0 compatibility-options=skip-peer-id-validation dh-group=
modp1024 enc-algorithm=aes-256 exchange-mode=main-l2tp generate-policy=
port-override hash-algorithm=sha256
/ip ipsec policy
add dst-address=0.0.0.0/0 protocol=udp src-address=0.0.0.0/0 template=yes
/lcd pin
set hide-pin-number=yes pin-number=9876
/ppp secret
add local-address=10.13.1.1 name=vpn
add local-address=10.13.1.1 name=lippavisual
add local-address=10.13.1.1 name=EricZ
add local-address=10.13.1.1 name=Test service=l2tp
add name=test1
add caller-id=“ip address” name=tyler profile=ipsec+l2tp service=l2tp
/system clock
set time-zone-name=America/New_York
/system logging
add topics=debug
add topics=l2tp
add topics=ipsec
/tool mac-server
set allowed-interface-list=mactel
/tool mac-server mac-winbox
set allowed-interface-list=mac-winbox
[admin@MikroTik] >
I didn’t check the whole config but for me this was important:
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha512,sha256,sha1
/interface l2tp-server server
set default-profile=vpn enabled=yes ipsec-secret=vpnsecret use-ipsec=yes
After that use L2TP VPN Type on the iOS device.
CZFan
January 31, 2018, 8:45pm
9
If by IOS you are referring to Apple devices and not Cisco, Apple have stopped support for PPTP on their devices for security reasons
Thanks, I tried that config before and it wouldn’t work. I’ll certainly try it again though.
Also well aware PPTP was dropped from iOS.
Thanks for the replies