Community discussions

MikroTik App
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

PPTP VPN Server and Client small problem

Mon Mar 28, 2011 9:36 pm

Hello,

In the following pictures i describe my 2 networks and my problem.

Networks:
Image

433ah settings:
Image

vigor 2820 routing table:
Image

Do you have any idea?

Thank you.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: PPTP VPN Server and Client small problem

Mon Mar 28, 2011 9:49 pm

Add a route to the Vigor 2820 (whatever that is) pointing 192.168.100.0/24 through 192.168.27.11.

You'll also want to edit the NAT rules on the RB433AH to exclude traffic from 192.168.100.0/24 to 192.168.27.0/24 from NAT:
/ip firewall nat
add chain=srcnat src-address=192.168.100.0/24 dst-address=192.168.27.0/24 place-before=0 action=accept
Note that the above command will break traffic from PC2 to PC1 as well until you have added the static route on the Vigor router.
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

Re: PPTP VPN Server and Client small problem

Tue Mar 29, 2011 2:36 pm

Hello fewi, thanks for the answer.

I have already added the route in the vigor 2820 (check picture #3).

I also added the command that you told me, but now PC2 can't see PC1 (as you said).
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: PPTP VPN Server and Client small problem

Tue Mar 29, 2011 5:00 pm

Then the Vigor router doesn't look for 192.168.27.11 via a PPTP tunnel but sends the packet out the LAN interface, which won't work. Looks like a platform limitation on that router. If it permits it, you can set a different IP pool for PPTP clients and try to route via that.
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

Re: PPTP VPN Server and Client small problem

Wed Mar 30, 2011 5:00 pm

No, i don't think that vigor sends the packets out from the LAN interface.

In static route that i added i've selected WAN1 as out interface, not LAN.

Who is online

Users browsing this forum: No registered users and 3 guests