tokon
I’m running OpenVPN on my QNAP-NAS and I want to connect to the shares of this NAS from my MacBook, but it doesn’t work. The VPN-connection has been established but I can’t do anything in my VPN-net.
On my Windows-Notebook everything works fine, the NAS is reachable under 10.8.0.1 and I can use the home internet connection to surf safely but not on my MacBook.
I have found the problem but I need help to solve it.
In the log of the Windows OpenVPN-client I’ve found the line:
C:\Windows\system32\route.exe ADD x.x.x.x MASK 255.255.255.255 10.249.55.234
x.x.x.x is the external IP of my home router/NAS, 10.249.55.234 was the gateway-IP of my UMTS-stick
The comparable line in the Tunnelblick-log is:
/sbin/route add -net x.x.x.x 6.0.0.0 255.255.255.255
So I thought, what is 6.0.0.0 for an IP address, definitely not the correct and I did a manually
sudo route add –net x.x.x.x y.y.y.y 255.255.255.255
where y.y.y.y was the broadcast address of my UMTS-connection at this time. Then I set up the VPN-connection and now I’m able to connect to my NAS and use the home internet connection.
I have tried this command in the client config:
route remote_host 255.255.255.255 net_gateway
and the return in the log is the same as the standard config do:
route add -net x.x.x.x 6.0.0.0 255.255.255.255
x.x.x.x is correct, but again the wrong 6.0.0.0
What can I do to get automatically the right routing?
Thx,
Torsten
Using MacOS X 10.8.2 with Tunnelblick 3.3beta28