[sohel@MUSCAT-CITYNET] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK BROADCAST INTERFACE
0 114.130.x.x/30 114.130.x.0 114.130.x.x WAN
1 172.16.95.1/24 172.16.95.0 172.16.95.255 LAN-1
[sohel@MUSCAT-CITYNET] > ip route print
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-STATE GATEWAY DISTANCE INTERFACE
0 A S 0.0.0.0/0 reachable 114.130.x.1 1 WAN
1 ADC 172.16.95.0/24 172.16.95.1 0 LAN-1
2 ADC 114.130.x/30 114.130.x.3 0 WAN
[sohel@MUSCAT-CITYNET] >
[sohel@MUSCAT-CITYNET] > ip firewall export
jan/06/1970 08:04:42 by RouterOS 3.10
software id = 60SS-PTT
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s tcp-close-wait-timeout=10s tcp-established-timeout=1d
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no
tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=drop chain=forward comment="" disabled=no dst-address=0.0.0.0/0 dst-port=445 protocol=tcp src-address=0.0.0.0/0
add action=drop chain=forward comment="" disabled=no dst-address=0.0.0.0/0 dst-port=445 protocol=udp src-address=0.0.0.0/0
add action=drop chain=forward comment="" disabled=no dst-address=0.0.0.0/0 dst-port=135-139 protocol=tcp src-address=0.0.0.0/0
add action=drop chain=forward comment="" disabled=no dst-address=0.0.0.0/0 dst-port=135-139 protocol=udp src-address=0.0.0.0/0
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=WAN
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no
set pptp disabled=no
[sohel@MUSCAT-CITYNET] >
From Local DNS : 172.16.95.5
[root@ns1 ~]# nslookup 172.16.95.5
Server: 172.16.95.5
Address: 172.16.95.5#53
5.95.16.172.in-addr.arpa name = ns1.xyz.com.
[root@ns1 ~]#
[root@ns1 ~]# nslookup ns1.xyz.com
Server: 172.16.95.5
Address: 172.16.95.5#53
Name: ns1.xyz.com
Address: 172.16.95.5
[root@ns1 ~]#
[root@ns1 ~]# nslookup http://www.xyz.com
Server: 172.16.95.5
Address: 172.16.95.5#53
http://www.xyz.com canonical name = ns1.xyz.com.
Name: ns1.xyz.com
Address: 172.16.95.5
[root@ns1 ~]#
I want to browse http://www.xyz.com, locally from ip block 172.16.95.0/24 whatever may be the clients dns address, it could be google dns, isp dns or open dns.
any idea ?