vpnc [ SOLVED ]

vu pham vu at sivell.com
Sun Apr 6 02:50:56 PDT 2008


Hermann J. Beckers wrote:
> Am Sonntag 06 April 2008 schrieb vu pham:
>> I use vpnc on FC8. It does allow me to connect to the company networks,
>> but it stops all access to any other networks. I cannot browse any web
>> sites except my web site. When I disconnect the vpnc then I can go
>> browsing the Internet again.
>>
>> Any advice is greatly appreciated.
>>
>> Vu
> As Lonny already asked: I think that is the way it works. I had the same 
> problem with a vpn connection to our office. 
> 
> Solution: Use a virtual machine. The vpn connection then blocks only the 
> internet connection of this virtual machine.

I just fixed it by manually adding the following routes:

route add -net 192.168.200.0/24  gw 192.168.235.1
route add -net 192.168.201.0/24  gw 192.168.235.1
route add default gw 192.168.1.1

with 192.168.200/24 and 192.168.201/24 are my company internal networks, 
192.168.235.1 is the ending tunnel 's IP, and 192.168.1.1 is my original 
(before vpnc establised ) default gateway.

Thanks everybody,

Vu





More information about the Linux-users mailing list