Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Before going into the details of the issue, I want to mention that my problem is similar to the one here : Connecting to VPN prevents access to normal web sites. Also there are similar discussions in this regard. As because this one is a specific issue related to the destination networks route, I am creating a new question.

While I am connected to VPN, I can't connect to other public sites. This was happening when I was on 10.10 and now happening in 11.04 also. On Win though I can access both VPN resources and public sites at the same time.

From the above mentioned question, it seems I have to set up Route. so that both VPN resources and public sites work at the same time.

I need help to find out what are the values that I should enter as Address, NetMask, Gateway. How to find those values?

Need your help to solve this issue.

share|improve this question

closed as too localized by jrg, htorque, Jacob Johan Edwards, Nathan Osman, jokerdino Jan 27 '12 at 6:52

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Do you have the Use this connection only for resources on its network option in the routes dialog as shown in the related question? –  James Henstridge May 4 '11 at 5:50
    
Yes, I do have that option as checked on. One more important point to note is, when I am keeping the "Use this connection only for resources on its network" as checked ON, then I can't connect to the VPN resources. But if I keep that option as OFF then I can connect to the VPN. –  Arindom May 4 '11 at 6:19
    
Okay. That sounds like you'll need to add a static route to cover the network on the other side (again, as the other question suggests). The details of the static route will depend on the network you are trying to connect to, so your best bet would be to check the Windows VPN software or ask your company's support staff. –  James Henstridge May 4 '11 at 6:48
    
I agree with james, set the default gateway (used for internet) route to use your internet interface and make a different route which tells which network (IP range used for VPN) uses which interface (Interface of the VPN) –  DemonWareXT May 4 '11 at 7:51
    
Thanks James and DemonWareXT for your help. About the static route, I already have the Windows VPN details. For example, I hav the destination IP, VPN type, Authentication type etc. all. In Windows I had to turn off the "Use Default gateway on remote network" option so that the connection works for both VPN resources and public sites both. DemonWareXT : I am using a broadband connection via Modem. So I had put the IP of the PC (192.x.x.x), netmask (255.x.x.x) and gateway (router ip). But that is not working. Can you please guide me, so that I can enter the right values? –  Arindom May 4 '11 at 8:23

1 Answer 1

you can use the vpn service to open public sites some time many sites are blocked in diffrent region. http://purevpn.com

share|improve this answer
    
As I had mentioned earlier, in Windows I can connect to the VPN and to the public sites at the same time. The problem is in Ubuntu I can't do that. It's working like in either/or mode. Either VPN or other sites. So I don't think anything is blocked here. About using external sites for work purpose is not an option here. I want to know the possible settings of the route that will work and allow me to connect with the VPN and public sites at the same time, just like in Windows. –  Arindom May 17 '11 at 12:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.