My company provide a vpn connection for home-office. I know that they use sophos firewall and it uses OpenVpn inside it. They gave me a .ovpn config file. it works fine in windows OpenVpn connect app. I read the file with text editor and applyed the configuration in my mikrotik. I succeeded the connection and got IP. But i can not access the offices LAN network. I fallow the packages but they don't reply. what is the wrong ?
Code: Select all
# 2024-03-31 22:54:27 by RouterOS 7.14.2
# software id = WDL2-L484
#
# model = RB4011iGS+
# serial number = B8F30B0E63D6
/interface ovpn-client
add auth=sha256 certificate=Deka_client cipher=aes128-cbc connect-to=xx.xx.xx.xx mac-address=02:28:DF:FA:38:52 name=deka_ovpn_client port=8443 profile=ovpn_client user=username verify-server-certificate=yes
/ppp profile
add local-address=172.90.28.1 name=pppoe_srv_profile remote-address=pppoe_srv_pool
add bridge=bridge change-tcp-mss=yes interface-list=WAN local-address=10.15.15.5 name=ovpn remote-address=ovpn-pool use-encryption=required
add change-tcp-mss=yes interface-list=LAN name=ovpn_client use-ipv6=no
/ip firewall nat
add action=masquerade chain=srcnat comment=Deka out-interface=deka_ovpn_client
/ip route
add comment="Forwarding to Sedef" disabled=no dst-address=172.28.90.0/24 gateway=ovpn-sedef
add comment="Forward Sedef" disabled=no distance=1 dst-address=192.168.10.0/24 gateway=ovpn-sedef pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10
add comment="Forward Efe Apt." disabled=yes distance=1 dst-address=192.168.2.0/24 gateway=ovpn-asus pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10
add comment="Route to Deka" disabled=no distance=1 dst-address=10.0.10.0/23 gateway=deka_ovpn_client pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=1