LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Set up Ubuntu 10 Server for Remote LAN PPTP Passthrough (http://www.linuxquestions.org/questions/linux-server-73/set-up-ubuntu-10-server-for-remote-lan-pptp-passthrough-868595/)

QuantumDot 03-14-2011 09:19 PM

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!

Noway2 03-15-2011 04:57 AM

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?

Bill Gates 666 03-15-2011 05:45 AM

Quote:

Originally Posted by QuantumDot (Post 4290973)
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! :newbie:

I am little puzzled as to why you would need a DNS Server for what you are trying to do?? :scratch: 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


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