please dont rip this site

Linux VPN

On most recent Ubuntu versions at least, setting up a VPN, even into a Windows server is pretty easy. Just fill out the forms in the Networking / VPN connections / Configure VPN dialogs.

After setting up the actual VPN connection, you have to add a route (no idea why that isn't automatic). sudo route add server_local_ip dev ppp0 where server_local_ip is the local IP address of the server on the servers network. You may need to check "Avoid Automatically added Routes" in the VPN setup.

Mounting a Windows server share: Once the server can be pinged, you can mount a remote share: sudo mount -t cifs //server_loca_ip/share_name -o user=user_name,pass=password /media/user/share_name/ Where the user_name and password are for the remote server, not the local PC.

It may be necessary to add vers=2.0 (or 2.1, 2.2, 3.0) after the -o.

The mount point can even be a .wine/dosdevices drive location for access from Windows programs running under W.I.N.E. e.g.
sudo mount -t cifs // ~/.wine/dosdevices//c:/Ref -o vers=2.0,user=username,pass=password

Note: Performance is NOT wonderful. Rsyncing content or working remotely via e.g. Remmina Remote Desktop Client is probably a good idea rather than trying to directly access files via VPN.

file: /Techref/os/linux/vpn.htm, 1KB, , updated: 2020/8/29 11:47, local time: 2024/7/22 03:09, owner: JMN-EFP-786,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Linux VPN</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!