Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Maybe Wii dont have a problem, but I sure do.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
JJacobsson
n00b
n00b
User avatar
Posts: 38
Joined: Sun Oct 26, 2003 11:30 am

Maybe Wii dont have a problem, but I sure do.

  • Quote

Post by JJacobsson » Thu Jun 14, 2007 7:46 pm

So I got my hands on a Wii. And then there was Super Mario Strikers Football. Bear with me, I will get to the networking question eventualy.

My home router is a gentoo box. It has 2 nic's, one "external" and one "internal", everything there works awesomeful with lot's of equipmnet of all shapes and sizes connecting to the internet over this Gentoo box.

My ISP gives me 5 public ip's but only via DHCP.

And now the Wii... aaah the lovely Wii. See, it uses WiFi, no problem there so does my laptop. It wants an unspecified number of ports forwarded to it for online game play. Yeah that's right, anyone. They dont know (nintendo that is) and I dont know which port the wii is gona want at any given time. This makes port-forwarding a bit of a pain. I *could* just put the Wii "outside" my router, provied that I go buy another WiFi access point and a switch. I'd rather not do that.

I have been trying to come up with some way to get my router to snag another public ip from my ISP with DHCP somehow (no luck so far... dont even know if it's possible) and then through some great feat of magic get my router to route anything to and from my Wii's internal IP over that freshly snagged external IP with no firewalling what-so-ever.

I have scoured the man-pages. I have read and re-read /etc/conf.d/net.example. I have googled. I have looked at Shorewall's documentation until my eye's bleed (I use ipkungfu today since that's shamefully easy to use). And I have no clue what to actualy do or what's actualy worth reading so far.

Could some kind soul point me to the right FAQ please?
//Joacim Jacobsson

- Cake or death?
- Cake please.
Top
barophobia
Apprentice
Apprentice
User avatar
Posts: 229
Joined: Tue Apr 27, 2004 4:37 am
Location: somewhere

  • Quote

Post by barophobia » Thu Jun 14, 2007 11:27 pm

The DMZ feature that must routers have probably will solve your problem.
Top
mudrii
l33t
l33t
Posts: 789
Joined: Thu Jun 26, 2003 12:27 am
Location: Singapore
Contact:
Contact mudrii
Website

  • Quote

Post by mudrii » Fri Jun 15, 2007 1:25 am

you could ask nintendo to share with you the ports than need to forward to Wii ;)
I will need one to soon ;)
www.gentoo.ro
Top
JJacobsson
n00b
n00b
User avatar
Posts: 38
Joined: Sun Oct 26, 2003 11:30 am

  • Quote

Post by JJacobsson » Fri Jun 15, 2007 6:25 am

mudrii wrote:you could ask nintendo to share with you the ports than need to forward to Wii ;)
I will need one to soon ;)
That's not the problem. Nintendo are perfectly happy to tell you what ports to forward. You just wont like the answer very much because it's "All of them.".
//Joacim Jacobsson

- Cake or death?
- Cake please.
Top
JJacobsson
n00b
n00b
User avatar
Posts: 38
Joined: Sun Oct 26, 2003 11:30 am

  • Quote

Post by JJacobsson » Fri Jun 15, 2007 6:26 am

barophobia wrote:The DMZ feature that must routers have probably will solve your problem.
Ahahu.. And when my gentoo box is my router, how do I set it up to DMZ my Wii? ;)
//Joacim Jacobsson

- Cake or death?
- Cake please.
Top
barophobia
Apprentice
Apprentice
User avatar
Posts: 229
Joined: Tue Apr 27, 2004 4:37 am
Location: somewhere

  • Quote

Post by barophobia » Fri Jun 15, 2007 11:17 pm

There should be a way to do it with iptables. Just don't ask me how to!
Top
Antimatter
Guru
Guru
Posts: 463
Joined: Mon Aug 11, 2003 5:45 am

  • Quote

Post by Antimatter » Sat Jun 16, 2007 11:15 pm

barophobia wrote:There should be a way to do it with iptables. Just don't ask me how to!
You can DMZ with the router, but the issue is with DHCP you only can really allocate 1 DHCP IP address per "device" MAC address, so...

I've looked into this issue before, and the only real solution I have found to date, is to build a second "router" or plug in another network card into the router, because DHCP assign IP address to each MAC address, so if you want to get more than 1 ip address that is dynamically assigned you would have to somehow swap the MAC address on the hardware get one DHCP allocated IP, then swap it again to get another DHCP allocated IP and vice verse....

I'm sure someone can do it, but I know that I probably can't do it reliably enough... so what I did was go out and buy a hub, hook two Ethernet cable to two separate Ethernet port on the router, then bam I got 2 IP address under the router control....


So... Depending on the poster's want, he can go the simple way and give up being able to remotely connect to ANYTHING and DMZ everything to the Wii, other wise, he could get a second/third network card and setup a hub to get a 2nd IP address via DHCP, or something else, I don't know.
Top
madchaz
l33t
l33t
User avatar
Posts: 995
Joined: Tue Jul 01, 2003 7:45 am
Location: Quebec, Canada
Contact:
Contact madchaz
Website

  • Quote

Post by madchaz » Sat Jun 16, 2007 11:24 pm

you could get an extra NIC in your router, get that to get a new IP address and setup static routing from that to your wii, so all the trafic to/from the wii goes via that extra NIC.
Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
Top
wellwhoopdedooo
n00b
n00b
Posts: 69
Joined: Fri Mar 04, 2005 6:06 pm

  • Quote

Post by wellwhoopdedooo » Sat Jun 16, 2007 11:36 pm

It's actually not one IP per MAC, but one IP per DHCP identifier, which just happens to be the MAC most of the time. Most Linux DHCP clients have an option to specify the DHCP ID (I may not be calling it the right thing, this was like 5 years ago but I know it worked) so just do that. If you have to, it's gotten a lot easier to make virtual interfaces, so you can get one IP with eth0.0 and one with eth0.1, although I wouldn't go to that until you know you have to because of the additional routing complexity.

You may even be able to do it with Gentoo init scripts, by making up a fake MAC and assigning it to a virtual interface.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic