Force laptop to redirect IP when in/out of office?

alano asked 2 years ago

I have a Win2K3 served system; remote users access via VPN (internet traffic does not get routed through VPN).

In the office where server is located, we have a PBX. The Win2K3 server does local IP resolution.

On my laptop I have a softphone which needs to connect to the PBX using a domain name. Any suggestions as to how I can configure the laptop/server to automatically connect via the best route?...

When physically in the office, the softphone should connect to the local IP address of the PBX. When remote, the softphone should connect to the dedicated public IP address of our PBX, and should never connect through the VPN (very slow!).

My first attempt was to set the softphone to use pbx.mypublicdomain.com then, in Win2K3 server's DNS create a pbx.mypublicdomain.com zone with an A-Rec that forwards to local IP of pbx. This works perfectly when local to the office, or remote from office without VPN. But, as soon as I connect VPN, it tunnels through because the Win2K3's DNS server deems pbx.mypublicdomain.com to be "local".

Any suggestions?

Thanks in advance,
Alan

1 Answers
Rob Vargas Staff answered 2 years ago

It *is* local. You made that so when you created the DNS zone and associated records.

My own VPN setup is to permit Internet traffic through the VPN, so I haven't had to tackle this issue. I'll see what I can find out.

Know the answer? Login or sign up for an account to answer this question.
Sign Up