VPN with routerboard

Hello i am working in a company. We Have VPN.
I need to get access to my company if i am in my home
i have a routeboard 433 with a wireless antenna in my home.
they give me the ip of the vpn server for example 192.111.111.111 and a username and password
i create in the routerboard PPTP client and enter all the info.
Everything is working and PPTP satus is connected.

I can ping from the routerboard to our server in the company like 192.168.0.101(exchange server)

But if i connect my laptop to the routerboard(wireless or by lan) and ping to 192.168.0.101 it give me request timed out

i want when i connect to this routerboard by my laptop, the router should give a ip from the dhcp server in my company so i want this routerboard to be all the time connecting to my company.

Company ip range dhcp: 192.168.120 → 192.168.0.220

so can anyone one give me all the configuration.
i can resset the routerboad and follow a tutorial step by step

Thanks

I don’t know if your company will be bridging their LAN to your PPTP connection. If so, you probably want to create a bridge and add the PPTP interface and your LAN interface in the same bridge.

Otherwise, you’ll probably end up adding a route for 192.168.0.0/24 across your PPTP interface. You’ll want to use a different subnet on your home LAN and masquerade traffic out your PPTP interface. You may want to hand out your office name servers via your DHCP server at home.

But if i connect my laptop to the routerboard(wireless or by lan) and ping to 192.168.0.101 it give me request timed out

I suspect that adding the masquerade NAT rule will fix that.

If the office wants your home LAN bridged to the office, I suspect you will need to run an Ethernet over IP tunnel across the PPTP connection.

A lot of details depend on how your office IT run their network.

i cant put pptp client in the bridge with the lan


anyway i will give u the configuration in the company: computers ip range 192.168.0.100 - 192.168.0.254 any computer get the ip automatically from the dhcp server(192.168.0.99)

I create a pptp client and its connected… if i go tools - ping - and ping 192.168.0.99 from interface pptp i get reply
but if i ping from my computer i dont get reply
i create a bridge but i cant put pptp client in a bridge mode with ether 2

/ip firewall nat
add action=masquerade chain=srcnat out-interface=YOURPPTP_INTERFACE src-address=YOUR_HOME_LAN_SUBNET

All traffic to your office from your home will appear to come from the MikroTik’s PPTP IP address.