Jump to content
Not connected, Your IP: 18.226.52.26
Sign in to follow this  
hamble

problem placing a local IP address outside the VPN tunnel

Recommended Posts

Hi.

I'm using AirVPN on a Macintosh running system 10.9 and the latest version of Eddie.

In Routes, I have two IP addresses configured to be reachable outside the VPN tunnel.  One is external (on the big wide internet), and the other is local (directly connected to me by a single ethernet cable, with a static IP address).

When my connection is on (with Network Lock), I can reach the external computer but not the local one.

When my connection is disconnected, I can reach both (even with Network Lock on, so Network Lock can't be the culprit).

Why can't I reach the local computer outside the VPN tunnel, and what can I do about it please?

Thank you!

Share this post


Link to post

This is because your default router becomes the tun0 interface and your "old" local network

addresses do not apply to this network - it cannot be reached without specific routes.

You will need to set up a static route, in Eddie or terminal, something like follows:

 

sudo route add -net 192.168.1.0/24 192.168.1.1

 

Assuming 192.168.1.1 is your local router.

 

After this, all traffic to 192.168.1.0/24 (192.168.1.0 - 192.168.1.255) should be routed

via 192.168.1.1 bypassing the VPN tunnel interface.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.

Share this post


Link to post

Thank you!  I now understand the problem, but I'm having trouble implementing the solution.

Computer A is using AirVPN with network lock on.

I'm trying to connect (e.g., by ssh) from computer A to computer B, which is attached directly to computer A by firewire, and which has the IP address (from DHCP) 169.254.35.233.  Computer A's firewire interface has the IP address (from DHCP) 169.254.189.190.

 

I've tried a variety of things including

 

sudo route add 169.254.35.233 -interface fw0

 

but nothing has worked yet.

Any advice specific to this situation please?

 

Thanks very much.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...