Exhaustive Trouble Shooting of no DNS via L2TP/IPSEC, NEW IDEAS welcomes
Posted: Thu May 03, 2018 5:38 pm
Past two weeks have been going back and forth with support to resolve the issue of DNS (so far nothing solved), here is the issue:
1. DNS works on default settings
2. Adding L2TP/IPSEC layer, DNS only seems to work by using Tools>Traceroute and able to ping
3. Parallel, from Windows (or Linux), no ping and not DNS resolution
4. Tools>Torch on LAN interface shows requests to DNS IPs are being sent, but nothing gets returned
5. Tools>Torch on VPN interface shows requests to DNS IPs are bieng sent and returned
6. Seems as Mikrotik is not passing DNS to LANs
Now, here is a short list of troubleshooting that was already done:
1. Changed L2TP/IPSEC servers / Used the ones that other machines are working on with no problem to eliminate possibility of L2TP/IPSEC server issue
2. Used same DNS as on other machines that are presently working (10.10.10.10 - if private DNS)
3. Present active machines work without "Allow Remote Requests", tried with/without, still issues
4. Downgraded from 6.42 to 6.41 as most machines are on 6.41 working fine. Downgrade didnt change anything
5. Added rules strictly for DNS, no change
1. DNS works on default settings
2. Adding L2TP/IPSEC layer, DNS only seems to work by using Tools>Traceroute and able to ping
3. Parallel, from Windows (or Linux), no ping and not DNS resolution
4. Tools>Torch on LAN interface shows requests to DNS IPs are being sent, but nothing gets returned
5. Tools>Torch on VPN interface shows requests to DNS IPs are bieng sent and returned
6. Seems as Mikrotik is not passing DNS to LANs
Code: Select all
[admin@MikroTik] > export
# may/03/2018 10:15:43 by RouterOS 6.41
# software id = YC2G-EAPK
#
# model = RouterBOARD 3011UiAS
# serial number = 8EEE087D08F1
/interface bridge
add admin-mac=CC:2D:E0:B7:F2:B5 auto-mac=no comment=defconf name=bridge
/interface l2tp-client
add add-default-route=yes allow-fast-path=yes connect-to=******\
dial-on-demand=yes disabled=no ipsec-secret=******* keepalive-timeout=\
10 max-mru=1410 max-mtu=1410 name=VPN password=****** use-ipsec=\
yes user=*******
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=sfp1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
/ip dhcp-client
add add-default-route=no comment=defconf dhcp-options=hostname,clientid \
disabled=no interface=ether1 use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set servers=10.10.10.10,8.8.8.8
/ip dns static
add address=192.168.88.1 name=router.lan
add address=10.10.10.10 name=DNS
add address=8.8.8.8 name=google
/ip firewall filter
add action=accept chain=input comment="Allow ICMP" protocol=icmp
add action=accept chain=input dst-port=53 protocol=tcp
add action=accept chain=input dst-port=53 protocol=udp
add action=accept chain=output dst-port=53 protocol=udp
add action=accept chain=output dst-port=53 protocol=tcp
/ip firewall mangle
add action=mark-routing chain=prerouting log=yes new-routing-mark=VPN \
passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=VPN
add action=masquerade chain=srcnat disabled=yes out-interface=ether1 \
src-address-list=""
/ip route
add distance=1 gateway=VPN routing-mark=VPN
add distance=2 gateway=192.168.1.1
/system clock
set time-zone-name=America/New_York
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
1. Changed L2TP/IPSEC servers / Used the ones that other machines are working on with no problem to eliminate possibility of L2TP/IPSEC server issue
2. Used same DNS as on other machines that are presently working (10.10.10.10 - if private DNS)
3. Present active machines work without "Allow Remote Requests", tried with/without, still issues
4. Downgraded from 6.42 to 6.41 as most machines are on 6.41 working fine. Downgrade didnt change anything
5. Added rules strictly for DNS, no change