Hi,
I am new to mikrotik routers configuration, previously I had DELL, where everything I do by clicking
,
I have 2 ISPs and 1 LAN, I have set up these two ISPs and LAN, everything works very well, I will make an SSTP connection with my router, but something is not working because I can connect but I cannot connect to any RDP and I can’t ping any devices on my local netwrok. Can somebody help me with what I do wrong in my configuration?
set [ find default-name=ether6 ] arp=proxy-arp name=LAN1
set [ find default-name=ether1 ] name=WAN1
set [ find default-name=ether2 ] name=WAN2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=vpn_pool ranges=192.168.1.20-192.168.1.24
/ppp profile
add dns-server=192.168.1.1 local-address=192.168.1.1 name=vpn_profile remote-address=vpn_pool use-encryption=yes use-mpls=no
/interface detect-internet
set detect-interface-list=all internet-interface-list=all lan-interface-list=all wan-interface-list=all
/interface ovpn-server server
set auth=sha1 certificate=Server_Cert cipher=aes256 default-profile=vpn_profile require-client-certificate=yes
/interface sstp-server server
set authentication=mschap2 certificate=Server_Cert default-profile=vpn_profile enabled=yes
/ip address
add address=91.236.172.5/24 interface=WAN1 network=91.236.172.0
add address=192.168.1.1/24 interface=LAN1 network=192.168.1.0
add address=91.236.174.80/24 interface=WAN2 network=91.236.174.0
/ip dns
set allow-remote-requests=yes servers=91.236.172.1,8.8.8.8
/ip firewall filter
add action=accept chain=input dst-port=443 protocol=tcp
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new new-connection-mark=WAN1 nth=2,1 passthrough=yes src-address=192.168.1.0/24
add action=mark-connection chain=prerouting connection-state=new new-connection-mark=WAN2 nth=2,2 passthrough=yes src-address=192.168.1.0/24
add action=mark-routing chain=prerouting connection-mark=WAN1 new-routing-mark=WAN1 passthrough=yes src-address=192.168.1.0/24
add action=mark-routing chain=prerouting connection-mark=WAN2 new-routing-mark=WAN2 passthrough=yes src-address=192.168.1.0/24
/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.1.0/24
/ip route
add distance=1 gateway=91.236.172.1 routing-mark=WAN1
add distance=1 gateway=91.236.174.1 routing-mark=WAN2
add check-gateway=ping distance=1 gateway=91.236.172.1
add check-gateway=ping distance=2 gateway=91.236.174.1
/ppp secret
add name=Patryk profile=vpn_profile service=sstp
add name=Gosia profile=vpn_profile service=sstp
/system clock
set time-zone-name=Europe/Warsaw