Search Amazon.com:
Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining us 94,000+ Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
  • Post
  • Reply
Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO

I have a few questions about setting up a pretty simple home network using Ubuntu. Really, I just want a simple network share using SAMBA but I don't know enough networking to know the best way to set it up.

The computers involved are 2 Ubuntu Desktops and a Macbook, with various other friends' computers connecting every so often. One ubuntu computer is mine, and our router forwards all traffic to it in DMZ mode. This means my computer gets the public-facing IP and everything else is behind NAT. I don't know enough about networking to know how to get computers behind NAT to talk to my PC, which would be hosting the files.

I know I could forward just the ports I need and put my computer behind NAT, but I use a dynamic DNS so I can remote in from work/wherever, and don't really want to deal with the hassle. What's the best way to resolve the NAT/different subnet issue? Thanks!

Adbot
ADBOT LOVES YOU

Severed
Jul 09, 2001

idspispopd

Why does your computer have to be the DMZ? Just put everything in one logical group of computers and your router should be able to talk with all of them equally. This is just a workgroup that you want to establish, right?

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO

I have a dynamic IP from my ISP, and I need my computer to get that IP so it can broadcast to my dynamic DNS service so I can remote in. If I could run the dyndns client on the router somehow then I could just forward the ports, but it's a lovely 2Wire router and I don't think there's a way to do this properly.

Nitr0
Aug 17, 2005

This isn't 'Nam, this is bowling. There are rules.


You should buy a router that can be flashed with tomato and then run the dynamic dns service off the router's wan port. Then you can do nat to the rest of your computers.

Nigel Danvers
Oct 29, 2009


By dynamic DNS do you mean DynDNS?

You can install a client ( should be in the Ubuntu repos ) so that it automatically updates DynDNS to point to you current public IP.

http://www.dyndns.com/support/kb/us...s_services.html

NIGARS
Sep 12, 2004

yeah nigars

Yeah what on earth. DynDNS has absolutely nothing to do with ports. You can run a client on a PC on your network with zero ports forwarded to it, and every ten minutes it'll check whether your external IP has changed (and if so update the website). You don't need to use a DMZ.

I honestly don't understand the sentence "I need my computer to get that IP so it can broadcast to my dynamic DNS service so I can remote in". Your computer doesn't "get" the IP. Your router is assigned the IP, and all the computers behind your router appear to the world as that same IP regardless of what ports are forwarded to them.

Unless, that is, you're using IPV6, which I'm pretty sure you're not.

Rate Thread:
  • Post
  • Reply