Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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):
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 ----------
# Secrets for authentication using CHAP
# client server secret IP addresses
***** pptpd ******* *
***** pptpd ******* *
***** pptpd ******* *
nmap -p 1723 athedsl-311428.home.otenet.gr gives:
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.