This project is read-only.

Set vpn connection to use default gateway on remote server

Jul 2, 2009 at 1:44 PM

Hi, your work is great!

I configure new rasentry vpn connection, try to connect on remote server and all work perfectly..... but... i must set vpn connection option "Use default gateway on remote server", how can make it?

this option is necessary to navigate with public ip of my vpn server. Can you help me?



Jul 2, 2009 at 3:28 PM

You just need to make sure you set the RemoteDefaultGateway flag on the RasEntry.Options property.

entry.Options |= RasEntryOptions.RemoteDefaultGateway;