My network setup looks as follows. Eth0 is my local lan adapter with address 192.168.0.1, and eth1 is connected to Internet with my public IP. My Gamecube has a hardcoded IP address of 192.168.1.32 and is connected to the local lan. I used to solve this by typing
sudo ifconfig eth0:0 192.168.1.1 netmask 255.255.255.0
Then I can successfully send data to it
nc 192.168.1.32 4000 < test.dol
I started using Firestarter and now this doesn't work anymore. It seems that Firestarter drops these packages on 192.168.1.x because it doesn't understand where they come from.
Relevant line from dmesg:
Unknown InputIN=eth0 OUT= MAC=00:20:18:8e:25:da:00:09:bf:02:3a:ae:08:00 SRC=192.168.1.32 DST=192.168.1.1 LEN=44 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=TCP SPT=4000 DPT=48624 WINDOW=2048 RES=0x00 ACK SYN URGP=0
How do I configure Firstarter to accept these packages?
use 255.255.0.0 as netmask for eth0 and you will be able to connect to all 192.168 subnets , including the one your gamecube is on.
No that won't work because the Gamecube still has netmask 255.255.255.0. At least I think that's why (I've tried it).
Ok, change your eth0 subnet to the one the gamecube is on.
And if you can't do that for some reason, add a third network card to connect with the gamecube.
In that case it sounds easier to find another firewall.
stonebone, i expect another firewall won't solve the problem.
What you have been doing before looks as a dirty workaround.
To give you better advice, i would need to know more about the setup of your local lan.
from your posts it looks like you have a subnet 192.168.0.x and 192.168.1.x
Is there something on the 192.168.0.x subnet that you don't want in the same subnet as your gamecube ?