convolucionado
Usuari@ ADSLzone
- Mensajes
- 44
Hola. Llevo dias intentando acceder a servidores WireGuard y me es imposible desde mi red con el router MicroTik RB760iGS. Ni con Windows, Linux, Android ni por Wifi o por cable Ethernet. Aparentemente conecta, pero no hay Internet ni acceso a la red local, nada por red funciona. En tranferir siempre marca 0 Bytes recibidos.
Con el móvil en 4G/5G accedo sin problemas a esos mismos servidores WireGuard.
El acceso mediante OpenVPN tampoco tengo problema.
Así que pensé que debe haber algo en mi config que me lo impide. Y es por eso que les pido ayuda.
Con el móvil en 4G/5G accedo sin problemas a esos mismos servidores WireGuard.
El acceso mediante OpenVPN tampoco tengo problema.
Así que pensé que debe haber algo en mi config que me lo impide. Y es por eso que les pido ayuda.
Código:
# nov/13/2022 01:54:07 by RouterOS 6.49.6
# software id = FYJ9-1MIN
#
# model = RB760iGS
# serial number = *
/interface bridge
add admin-mac=* auto-mac=no comment=defconf name=bridge \
protocol-mode=none
/interface vlan
add interface=ether1 name=vlan3 vlan-id=3
add interface=ether1 name=vlan6 vlan-id=6
/interface pppoe-client
add add-default-route=yes allow=pap,chap disabled=no interface=vlan6 \
keepalive-timeout=60 max-mru=1492 max-mtu=1492 name=pppoe-out1 \
use-peer-dns=yes user=adslppp@telefonicanetpa
/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=dhcp ranges=192.168.88.31-192.168.88.254
/ip dhcp-server
add address-pool=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=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
add interface=pppoe-out1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=192.168.1.1/24 interface=bridge network=192.168.1.0
add address=192.168.100.2/24 interface=ether1 network=192.168.100.0
add address=192.168.0.1/24 interface=bridge network=192.168.0.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
add add-default-route=no disabled=no interface=vlan3 use-peer-ntp=no
/ip dhcp-server lease
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=\
192.168.88.20,192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
add address=192.168.88.20 name=osmc
/ip firewall address-list
add address=*.sn.mynetname.net list=public-ip
/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 mangle
add action=set-priority chain=postrouting new-priority=4 out-interface=vlan3
add action=set-priority chain=postrouting new-priority=1 out-interface=\
pppoe-out1
/ip firewall nat
add action=masquerade chain=srcnat comment=hairpin-nat dst-address=\
192.168.88.0/24 src-address=192.168.88.0/24
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=pppoe-out1
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=vlan3
add action=dst-nat chain=dstnat comment=OSMC-P2P dst-port=49140-49152 \
protocol=tcp to-addresses=192.168.88.20
add action=dst-nat chain=dstnat comment="OSMC-P2P(udp)" dst-port=49140-49152 \
protocol=udp to-addresses=192.168.88.20
add action=dst-nat chain=dstnat comment=TVH-Audio disabled=yes dst-port=\
6576-6577 protocol=tcp to-addresses=192.168.88.20 to-ports=9981
add action=dst-nat chain=dstnat comment=OSMC-WireGuard dst-port=51820 \
protocol=udp to-addresses=192.168.88.20 to-ports=51820
/routing rip interface
add interface=vlan3 passive=yes receive=v2
/routing rip network
add network=10.0.0.0/8
/system clock
set time-zone-name=Europe/Madrid
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN