I have this set up:

202.1.1.5 - Me
219.1.4.14 - Customer

Me has 192.168.88.0/24  - 172.16.2.1
Customer has 192.168.89.0/24  -  172.16.2.3

I have a machine 192.168.251.4 sitting behind "Me".

Normally when that machine wants to talk to the net it talks via NAT 202.1.1.5

But I want it to talk via 219.1.4.14 - over the VPN link.

The machine is a VPS on a VPS server.  It's running a PBX software.

The VoIP provider only relates their SIP trunk accounts with one IP address.

So... I can't do this...

Account 1 -> 202.1.1.5 - Me
Account 2 -> 202.1.1.5 - Me

What I need to do is:

Account 1 -> 202.1.1.5 - Me
Account 2 -> 219.1.4.14 - Customer - and then use port forwarding to get 5060 to 192.168.251.4 over the VPN.

This would be fine, but when the VPS PBX dials out it does so via 'me' IP and not 'customer' IP, so the VoIP SP thinks it's 'me' calling out and not 'customer' calling out.

So, what I want to do is make the VPS server be NAT'ed over the 'customer' router on the other end of the VPN link.

Am I making any sense here?

D

--
Don Gould
31 Acheson Ave
Mairehau
Christchurch, New Zealand
Ph: + 64 3 348 7235
Mobile: + 64 21 114 0699


_______________________________________________
Mikrotik mailing list
Mikrotik@mail.butchevans.com
http://mail.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to