Hi Everyone,
I'm new to Mikrotik and recently bought an L009. The main goal of the device is to act as a device from an ISP would, to summarize:
The config at the end shows the way I've setup my device and everything seems to work fine accept for two devices: Windows 11 laptop (through Wifi and Ethernet port), Samsung TV and mi Xiaomi tv setup box. Both give an error that here is no internet access. After checking on my Windows 11 Laptop (and the mikrotik device) I see that it definitely got an IP lease from the DHCP server. But the other config (DNS servers, subnet mask and default gateway are not being being set. (checked with ipconfig).
Second issue:
Port forwarding does not seem to be working correctly for the setup rules? I can't reach the ports on the specified devices from my WAN interface.
Anyone got an idea? GF is complaining
I'm new to Mikrotik and recently bought an L009. The main goal of the device is to act as a device from an ISP would, to summarize:
- On the WAN side: get an IP from a device fro: the ISP
- On the LAN side: Be a DHCP Server for other devices
- Do NAT between both interfaces
- Allow for some port forwarding
The config at the end shows the way I've setup my device and everything seems to work fine accept for two devices: Windows 11 laptop (through Wifi and Ethernet port), Samsung TV and mi Xiaomi tv setup box. Both give an error that here is no internet access. After checking on my Windows 11 Laptop (and the mikrotik device) I see that it definitely got an IP lease from the DHCP server. But the other config (DNS servers, subnet mask and default gateway are not being being set. (checked with ipconfig).
Second issue:
Port forwarding does not seem to be working correctly for the setup rules? I can't reach the ports on the specified devices from my WAN interface.
Anyone got an idea? GF is complaining
Code:
# 2024-01-01 22:30:00 by RouterOS 7.11.2# software id = **ELIDED**## model = L009UiGS# serial number = XXXXXXXXX/interface ethernetset [ find default-name=ether1 ] name="Ether1 - LAN1"set [ find default-name=ether4 ] name="ether4 "set [ find default-name=ether5 ] name="ether5 - WAN1"/interface wireless security-profilesset [ find default=yes ] supplicant-identity=MikroTik/ip pooladd name="LAN Pool" ranges=10.0.0.151-10.0.0.254/ip dhcp-serveradd address-pool="LAN Pool" interface="Ether1 - LAN1" lease-time=23h59m59s name="DHCP - LAN1"/portset 0 name=serial0/ip addressadd address=10.0.0.1/24 interface="Ether1 - LAN1" network=10.0.0.0/ip dhcp-clientadd interface="ether5 - WAN1"/ip dhcp-server networkadd address=10.0.0.0/32 dns-server=10.0.0.51,1.1.1.1 gateway=10.0.0.1 netmask=24/ip firewall natadd action=masquerade chain=srcnat src-address=10.0.0.0/24add action=dst-nat chain=dstnat dst-address=10.0.0.20 dst-port=5001 in-interface="ether5 - WAN1" protocol=tcp to-addresses=10.0.0.30add action=dst-nat chain=dstnat dst-address=10.0.0.53 dst-port=80 in-interface="ether5 - WAN1" protocol=tcp to-addresses=10.0.0.53add action=dst-nat chain=dstnat dst-address=10.0.0.53 dst-port=443 in-interface="ether5 - WAN1" protocol=tcp to-addresses=10.0.0.53/system clockset time-zone-name=Europe/Brussels/system clock manualset time-zone=+01:00/system identityset name=L009/system noteset show-at-login=no/system ntp clientset enabled=yes/system ntp client serversadd address=pool.ntp.org/system routerboard settingsset enter-setup-on=delete-key
Statistics: Posted by karatekid — Mon Jan 01, 2024 11:32 pm