sirsmokalot wroteFrom my understanding the problem with the Windows 7 Client is, that he automaticly changes the default gateway windows is using while the VPN connection is up.
OpenVPN does not change the default gateway .. it sets higher priority routes that emulate a new gateway.
sirsmokalot wroteI want to set up OpenVPN to be able to see my samba shares from everywhere. But i dont want the internet traffic from the server to be routed, the client should use his local internet connection to for example open up websites
Standard setup
without --
redirect-gateway option.
To access Windows shares:
net use z: //10.8.0.1/sharename
where 18.8.0.1 represents the IP of the machine you want to connect to.
Windows
network browser will
not work with this setup.
You can try --
dev tap and --
server-bridge and/or a Wins/Samba server but in my experience they are more trouble than they are worth. I run an FTP server on any windows machine I want to serve files and use the VPN encryption for protection.