LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-14-2011, 10:19 PM   #1
QuantumDot
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Set up Ubuntu 10 Server for Remote LAN PPTP Passthrough


First off I'm not really sure if PPTP is the best protocol to be doing this with, but it's what I'm testing for now.

The situation is that I have a Ubuntu 10.10 server at my house, which uses a dynamic IP that I get from my ISP. I use this server solely for experimentation so messing something up isn't an issue for me. My friend and I want to test a method through which we can pipe all traffic leaving his router (PPTP) to the server at my house and then have it seamlessly pass on to the internet.

I have configured a DNS server, as best I can, and an openSSH server on the linux box. Set my router to allow the ubuntu box to be in the DMZ to get rid of (local) firewall problems, and instructed the server to forward all traffic received on port 1723 to the ISP's DNS seeing itself as a proxy for traffic coming from the WAN IP of the remote LAN.

However, when we point the remote LAN to my IP where the server is, I don't see any traffic coming through using Wireshark on both the server, and a Win 7 box on the local LAN. Furthermore, the remote LAN just times out its WAN connections, despite being able to ping the server??? And to top it all off, the local router here experiences a DoS condition of sorts... So despite having the server in a DMZ my (belkin) router is either still stopping the traffic? Or the server is doing some horrendous loopback trick that I cannot (don't know how to) see, being new to linux and all

Any help on how to set this config set up would be awesome. Thanks!
 
Old 03-15-2011, 05:57 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Quote:
which uses a dynamic IP that I get from my ISP
Check out dyndns.org.
Quote:
I want to test a method through which we can pipe all traffic leaving his router (PPTP) to the server at my house and then have it seamlessly pass on to the internet
This would typically be referred to as VPN. It is usually implemented with virtual-adapters to handle the routing. Note, a thorough understanding of how IP traffic is routed would be a recommended requisite.
Quote:
have configured a DNS server, as best I can, and an openSSH server on the linux box
Do these function work by themselves? Have you tested them? Have you secured them?
Quote:
Set my router to allow the ubuntu box to be in the DMZ to get rid of (local) firewall problems
Ok...
Quote:
and instructed the server to forward all traffic received on port 1723 to the ISP's DNS seeing itself as a proxy for traffic coming from the WAN IP of the remote LAN
How did you set this up and configure it?
Quote:
However, when we point the remote LAN to my IP where the server is, I don't see any traffic coming through using Wireshark on both the server, and a Win 7 box on the local LAN.
What do you mean by point? What exactly are you doing?
 
Old 03-15-2011, 06:45 AM   #3
Bill Gates 666
Member
 
Registered: Dec 2003
Location: Cambridge
Distribution: Arch
Posts: 68

Rep: Reputation: 22
Question

Quote:
Originally Posted by QuantumDot View Post
The situation is that I have a Ubuntu 10.10 server at my house, which uses a dynamic IP that I get from my ISP. I use this server solely for experimentation so messing something up isn't an issue for me. My friend and I want to test a method through which we can pipe all traffic leaving his router (PPTP) to the server at my house and then have it seamlessly pass on to the internet.
Hi

Sounds like a fun little project!

I have played around with this sort of thing in the past. I setup a DynDNS account. Then I setup a TinyDNS DNS Server and used to this to set myself up as a mail server. All great fun - it worked as well!

I am little puzzled as to why you would need a DNS Server for what you are trying to do?? You are also aware (I presume) that you can't just create your own Domain on the (big, bad) Internet?? You have to pay a hefty annual license fee to be able register new Domain names!

Bob
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote, Internet and LAN access to Ubuntu Server ehcah Linux - Server 12 07-21-2010 10:21 PM
how can i set two lan cards in ubuntu server 8.10 machinakias Linux - Server 5 01-02-2009 10:18 PM
How can I get my PPTP Connection to connect to a Windows Remote Access Server? jamtech Linux - Networking 1 08-03-2007 08:58 PM
how to implement PPTP passthrough in uclinux aparna8419 Linux - Networking 0 04-03-2007 03:33 AM
PPTP conection from laptop at home to Remote server linuxdawg67 Linux - Networking 2 03-15-2007 06:26 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration