Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a P4 machine with Debian 6.0.5 XFCE and i want to turn it into a VPN server. i want to share all my files (music,movies etc.) throughout a wireless home network. i tried a dozen of guides with pptpd and openvpn but i can seem to make it work.my router's a NETGEAR DGN2200. here's a map of the network i wanna create:
Pentium4 [Debian 6.05 XFCE] - server
Sony Vaio laptop [Kubuntu 11.10] - client
AMD Phenom II x6 multiboot [Fedora 16 GNOME, Windows 7 x64] - client
Sony Xperia Arc [Android 2.3.7 - Cyanogenmod 7.2] - client
Please any help, guide, steps, will be much appreciated...i'm busting my head for days now...
Here's a couple of guides i followed (unsuccessfully):
Why VPN, if you are trying to share files set up NFS mounts and use samba to mount them on your other systems. Do some searching for creating nfs mounts and mounting them with samba.
I don't follow you on your TV setup, you would just be serving the files to any client that requests it and its applications/codecs would decode and playback any media. If you are looking to serve media files to other devices VPN really isnt a good option at all, the traditional setup is to use network file shares.
Just to elaborate on Kustom42 posts basically a VPN in a nutshell is for connecting remote networks over the internet together. It is not necessary since what you want to accomplish is only on your home network. There many options for file sharing like NFS as mentioned.
ok i look into the NFS.by the tv setup i meant that my TV media player will connect wirelessly to my server and have access to the fiis.is that achievable through nfs? also if i set my nfs hard disks,then how can i create a vpn so tha i can access them from everywhere?
NFS is for sharing files between computers. "Sharing" files to a TV depends on its capabilities. You will need to look its manual to see what protocols it supports. Post back with the details including make/model.
Please stop thinking VPN for this. VPN is not a solution for what you are trying to accomplish, stick to looking at NFS mounts and shares and you will have no problem. The guides posted should help get you there.
---------- Post added 05-30-12 at 08:35 AM ----------
NFS is working great but i really need the vpn, i wanna have access from another location but i still can't get it to work. i switched to lubuntu 11.10. nothing new really. here are my configurations:
# Secrets for authentication using CHAP
# client server secret IP addresses
***** pptpd ******* *
***** pptpd ******* *
***** pptpd ******* *
nmap -p 1723 athedsl-311428.home.otenet.gr gives:
Code:
Starting Nmap 5.21 ( http://nmap.org ) at 2012-06-06 12:49 EEST
Nmap scan report for athedsl-311428.home.otenet.gr (85.72.72.xx)
Host is up (0.0019s latency).
PORT STATE SERVICE
1723/tcp closed pptp
Nmap done: 1 IP address (1 host up) scanned in 1.36 seconds
i can't understand what am i doing wrong....any ideas?
PS. net.ipv4.ip_forward = 1 is already on and also /sbin/iptables -P FORWARD ACCEPT and /sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE
You need to setup port forwarding on your actual router. You should be able to login to your router by going to your default gw in an internet browser and if you look up the manufacturers docs you can reference those for how to set it up. The port can be opened locally on the OS but will not be open on your router unless you forward it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.