HTTP websites are returning RouterOS
Posted: Tue Apr 25, 2023 5:20 am
Hi all
I've been trying to install Ubuntu Server on a little home NUC for home use except it's been failing to connect to the mirror server. I investigated this and noticed _any_ http address returns the RouterOS page instead of the actual website.
I did a nslookup on au.archive.ubuntu.org and it seems to give me the correct IP address so I'm not sure what's happening here. I know it's not my computer since it's happening on all devices on my network.
Here's my RouterOS config:
Thanks
I've been trying to install Ubuntu Server on a little home NUC for home use except it's been failing to connect to the mirror server. I investigated this and noticed _any_ http address returns the RouterOS page instead of the actual website.
I did a nslookup on au.archive.ubuntu.org and it seems to give me the correct IP address so I'm not sure what's happening here. I know it's not my computer since it's happening on all devices on my network.
Here's my RouterOS config:
Code: Select all
[admin@MikroTik] > export
# apr/25/2023 11:57:13 by RouterOS 6.48
# software id = 208M-3ZFP
#
# model = RBD52G-5HacD2HnD
# serial number = CDFD0D8FE730
/interface bridge
add admin-mac=08:55:31:22:60:9B auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
disabled=no distance=indoors frequency=auto installation=indoor mode=\
ap-bridge ssid=Redacted station-roaming=enabled wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX \
country=australia disabled=no distance=indoors frequency=auto installation=\
indoor mode=ap-bridge ssid=Redacted station-roaming=enabled \
wireless-protocol=802.11
add disabled=no keepalive-frames=disabled mac-address=0A:55:31:22:60:9F \
master-interface=wlan1 multicast-buffering=disabled name=wlan3 ssid=\
"redacted" wds-cost-range=0 wds-default-cost=0 wps-mode=\
disabled
add disabled=no keepalive-frames=disabled mac-address=0A:55:31:22:60:A0 \
master-interface=wlan1 multicast-buffering=disabled name=wlan4 ssid=\
"redacted" wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=MikroTik wpa-pre-shared-key=redacted \
wpa2-pre-shared-key=redacted
/ip pool
add name=dhcp ranges=10.0.0.20-10.0.0.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,passw\
ord,web,sniff,sensitive,api,romon,dude,tikapp"
/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=wlan1
add bridge=bridge comment=defconf interface=wlan2
/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=10.0.0.1/24 comment=defconf interface=bridge network=10.0.0.0
add address=10.0.0.25/8 comment="NUC IP address" interface=bridge network=\
10.0.0.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=10.0.0.0/24 comment=defconf gateway=10.0.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
/ip dns static
add address=10.0.0.25 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
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-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=\
out,none out-interface-list=WAN
add action=dst-nat chain=dstnat dst-port=443 in-interface=all-ethernet \
protocol=tcp to-addresses=10.0.0.25 to-ports=443
add action=dst-nat chain=dstnat dst-port=22 in-interface-list=WAN protocol=tcp \
to-addresses=10.0.0.25 to-ports=22
add action=dst-nat chain=dstnat dst-port=5269 in-interface-list=WAN protocol=\
tcp to-addresses=10.0.0.25 to-ports=5269
add action=dst-nat chain=dstnat dst-port=25 in-interface-list=WAN protocol=tcp \
src-port="" to-addresses=10.0.0.25 to-ports=25
add action=dst-nat chain=dstnat dst-port=587 in-interface-list=WAN protocol=tcp \
to-addresses=10.0.0.25 to-ports=587
add action=dst-nat chain=dstnat dst-port=993 in-interface-list=WAN protocol=tcp \
to-addresses=10.0.0.25 to-ports=993
add action=dst-nat chain=dstnat dst-port=80 protocol=tcp to-addresses=10.0.0.25 \
to-ports=80
/system clock
set time-zone-name=Australia/Melbourne
/tool graphing interface
add store-on-disk=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
[admin@MikroTik] >