Blog - Router

2020-6-21

See Remplacer sa freebox par un routeur mikrotik

MikroTik hAP ac

SFP-VDSL2-Modem

Description

MikroTik hAP ac Dualband

Triple-Chain Dualband Access-Point mit fünf Gigabit-Ports

OS Manual

Manual:TOC

Specs

Freebox

mac

00:07:cb:ff:f1:09

vlan

836

ipv4

83.154.226.58

ipv6

2a01:e35:39ae:23a0::/60

gateway 6rd

192.88.99.101

Configuration

Connection

/interface ethernet set sfp1 mac-address=00:07:cb:ff:f1:09

/interface vlan add interface=sfp1 vlan-id=836 name=vlan836-internet
/ip dhcp-client add interface=vlan836-internet add-default-route=yes

ipv4

/ip firewall nat add chain=srcnat out-interface=vlan836-internet action=masquerade

ipv6

/interface 6to4 add name=6rd local-address=83.154.226.58 remote-address=192.88.99.101 mtu=1480

/ipv6 address add interface=6rd address=2a01:e35:39ae:23a0::2/64  advertise=no comment="WAN address"
/ipv6 address add interface=bridge address=2a01:e35:39ae:23a0::1/64 advertise=yes comment="LAN prefix"

/ipv6 route add dst-address=::/0 gateway=6rd

Port forwarding

/ip firewall nat print

/ip firewall nat add comment="Serveur HTTP" chain=dstnat action=dst-nat to-addresses=192.168.6.43 to-ports=80 protocol=tcp in-interface=vlan836-internet dst-port=80