PDA

View Full Version : Fowarding IP Address


Pages : [1] 2

sookainian
04-22-2007, 01:43 PM
Can anyone teach me how to foward ip address ?

I am using 2Wire wireless modem. I cant host a room since last 2 years :arggg:

Please help me someone

bo denmark
04-22-2007, 06:33 PM
I'm not quite sure what you are looking for. But is it your own ip-address?

If so, use this link:

www.getip.com

B.

sookainian
04-22-2007, 08:01 PM
Ok maybe my question was not so clear.

What i want to learn/know is "how to set up IP forwarding",

It is to allow two computers on different networks to communicate with each other via a router.

And my router brand is 2Wire.

I think the reason why i cant host a room on G3.5 is because i am not sure how to foward my IP address.

Thanks

BarracudaHockey
04-23-2007, 02:16 PM
G3 uses the IP address from the windows networking API so you're out of luck AFAIK, there is no way to fool it and if you are hooked up to a router you will have a private IP, you have to have a public IP to host.

wheeler930
04-23-2007, 05:30 PM
G3 uses the IP address from the windows networking API so you're out of luck AFAIK, there is no way to fool it and if you are hooked up to a router you will have a private IP, you have to have a public IP to host.


You have to into your router settings. To get there you have to type your IP address in to your browser. hope that helps

xptical
04-24-2007, 01:22 AM
Go to http://whatismyip.com/ Write down the number it gives. This is the number you will give to others trying to join your session.

Click "start" and "run" Type in "cmd" Hit "enter"

At the prompt, type "ipconfig /all" Write those numbers down. Pay particular interest to "gateway" and "DNS" addresses.

In my case, the gateway is "192.168.1.1" and the DNS is "192.168.1.1"

Click "start" and "control panel" and "network connections" Right-click on your network adapter and select "properties".

Double-click "TCP/IP" and then set it to use a static IP address. For your IP address, pick the gateway address +20. In my case "192.168.1.21"

Fill in the gateway and DNS addresses from above. The subnet mask should fill in automatically, but 255.255.255.0 usually works.


Now, open your router config page. Usually by typing in the gateway address into a browser window.

Once there, use the manual from here http://www.2wire.com/?p=266 to configure your modem.

You want to take TCP or UDP port from any interface and forward it to your PCs IP address. If I wanted to forward port 2121, I would config the router to take ANY 2121 and forward it to 192.168.1.21 ANY 2121.

On your system it may be different. Read the manuals and see if it makes sense. In the worst case, just set your IP address as the DMZ address and it'll forward everything.

Skiddz
04-25-2007, 09:59 PM
192.168.x.x is non-routable (i.e. won't work out in the net) so is useless for telling your buddies where to find you.

What you need to do is find out the IP your ISP is assigning to your router (your WAN address) and tell your buddies to use that one. You can usually find it out by connecting to your router (web interface or character based telnet session - check your router docs) and checking the status.

Forwarding is pretty straightforward like xptical says.. Find out what port(s) and protocols(s) it requires to host a game and forward those to your internal IP (use the ip from "ipconfig /all" as the destination IP)

If you put your internal IP in the DMZ, you've just removed any protection your router/firewall was providing. Figure out the forwarding.

BarracudaHockey
04-26-2007, 02:43 PM
What I'm saying is you dont "tell" realflight what your IP is, it pulls it from your network settings and in the case of a home network thats going to be an internal IP address.

Skiddz
04-27-2007, 04:02 AM
True, but if the protocol/port are forwarded to the internal IP via the router, G3.5 could care less what the internal IP is.

I run an FTP and Teamspeak server on my home network and connect to 'em all the time from the outside world. You just have to forward the protocol/port to the correct internal IP.

BarracudaHockey
04-27-2007, 11:02 AM
Do you run G3 over the router?

Skiddz
05-01-2007, 01:57 AM
I've never hosted G3 (or 3.5) from here, but have hosted a LOT of other online games/apps from here..

Say for example your internal network is running 192.168.100.x and the G3.5 machine is at 192.168.100.12. The IP assigned to your cable/DSL modem is 10.1.22.76 (it won't be a 10.x.x.x address but let's say it is for the sake of argument)

You tell all your pals "hey, I'm hosting G3.5 at 10.1.22.76!"

On the router, you'd need two forwarding rules: (Taken right from the RF Knowledge Base)

TCP Port 47624 and TCP/UDP 2300-2400, both forwarded to 192.168.100.12

The router, upon seeing traffic on TCP port 47624 will look in its forwarding rules and go "Hey, this traffic needs to go to 192.168.100.12" and will send it on its merry way after rewriting the destination IP. Subsequent traffic on TCP *OR* UDP ports 2300-2400 will be similarly forwarded and voila! A G3.5 host is born.

BarracudaHockey
05-01-2007, 11:11 AM
Yea, I thought about it this weekend.

You can host but you cant advertise on the Real Flight host list.

Skiddz
05-03-2007, 11:22 PM
The only reason I could see this not working is 'cuz I've not been able to find a way to tell RF to use your WAN address instead of the machine's address.. I'm sure it's stuffed in some config file somewhere...

You don't know a URL to the RF listserver do you?? I wanna try a couple things...

[edit]

NM. Check this out... I just fired off RF and set up a hosting session and selected Publish Hosting Information. PUlling down the Multiplayer menu, it shows me hosting a session on BOTH my WAN *AND* local IPs.

I've got no way to tell if they're listed on the server, but I'll leave it up for a while.. It should be called "Skiddz' Marks"

[edit 2]

OK, Max Krasher just joined.. Found me on the server...

TREX450SA
05-12-2007, 04:47 PM
click on start then Run a little box will appear, then type cmd then click ok
In the black box type ipconfig /all that will show you everything you should
need

Skiddz
05-13-2007, 02:02 AM
That won't tell you the WAN address your router is using. Besides, it appears RF is capable of figuring out the WAN address on it's own so once you've got your forwarding done, host a session and publish the hosting info.

Jafa
05-13-2007, 06:43 AM
IP forwarding will not solve your problems with G3
The problem is that G3 cannot determine your real/external/internet IP address
G3 needs this address to register it on the session listing server
so other people can find your session

What you have to do is install the MS Loopback network adaptor,
it's a piece of software that creates a virtual (not real) network card,
it's installed via the add hardware wizard in the control panel.

After installing this adaptor you set it's IP address to your real external IP address.
G3 try's all IP addresses on all adaptors - so this is a bit of a hack.
The only problem is that if you have a dynamic IP
then you will need to update the IP address on the loopback adaptor from time to time

1. Configure your firewall to port forward port 2300 tcp/udp from your public address to the internal nat'd address of your pc running realflight. Since there are a zillion firewalls I can't help you with this part, but it should be straight forward for most.

2. Add the loopback adaptor in your pc.
A. Goto your control panel then click add hardware.
B. Tell it you already added the hardware.
C. From the list choose "Add new hardware device."
D. Install hardware manually from a list.
E. Choose "Network Adaptors."
F. Choose "Microsoft" as the vendor and "Microsoft Loopback adaptor" as the device.
G. "Next" then "Finish" to install the adaptor.
H. Go to your network connections and find the loopback adaptor.
I. Now edit the properties and go to the tcp/ip properties.
J. Set the IP address to be the same as your public IP address. You can find it with www.whatismyip.com.
K. Set the netmask to be 255.255.255.0
L. Now exit the device and network properties.

BarracudaHockey
05-13-2007, 07:21 AM
Jafa thats brilliant! I never even thought of using the loopback.

z11355
05-13-2007, 07:31 AM
Another way Microsoft makes computing for the masses 'simple' :badair:

Jafa
05-13-2007, 07:37 AM
BarracudaHockey:
I can't take credit for it, it's on the KnifeEdge forums
(but I hate going there so thought I would post it here)
It's definately a hack - but it works well

Z11355:
Na - the loopback adaptor is a common theme, Linux had it 1st
The software problem here is with RealFlight G3
or more correctly with the KnifeEdge list server which could easily detect your IP

Skiddz
05-15-2007, 01:32 AM
Is this just a 'fix" for G3 'cuz I most certainly do not have the loopback "device" installed and G3.5 figured out the WAN address all on it's own and published it just fine.

Jafa
05-15-2007, 05:20 AM
It all depends on how you are connected to the internet,
people who run a PC directly into a modem should be ok
People with a UPNP router are sometimes ok

If you are behind a router and G3 cannot host an internet session
then you need to install this loopback adaptor
It's not a fix to G3 - it's a PC configuration
that works around the limitations of G3

Skiddz
05-19-2007, 11:37 PM
Hmm.. I've got a router, but UPNP is *NOT* enabled and I can host just fine... Interesting.

fogger
03-04-2008, 06:55 PM
Great thread, thanks for all the info guys. I'll try again tonight, been having problems getting a hosted session up. I can join others just fine though.

Quick ? what is UPNP?

-Fog


Freaking A I still can't get this to freaking work. I have a linksys cable modem (Cox high speed internet) and a D-Link wireless router. The pc is on a wireless G connection, local IP address is known : 192.168.1.199. So I hooked up the laptop directly to the router and went into setup, got the current IP address of 72.201.220.118. I forwarded ports 2300-2400 to my pc and also port 47624. Then I also set up a virtual server (not sure the difference) for port 8793 (random #) to be sent to the pc at port 80, just per the instructions in the help file on the router.

Still no joy when trying to publish the session, I get the error "Unable to find a public IP address. Please check yer freaking network config."

Any help would be freaking sweet. :)

-Fog

widower
03-04-2008, 11:15 PM
upnp is universal plug and play. If enabled in your router, then realflight can try and create the necessary port forwarding my issuing upnp commands to the router.

I forwarded another guy to www.grc.com. Here, you can try running shields up and it will tell you if the ports are opened. It will help you check out your system.

A virtual server is just another way of setting up port forwarding and adding extra filters. You should be able to get things working just by enabling upnp. Without upnp, you will have to setup the port forwarding manually. I'm not sure why you setup port 8793 (external port) to map to an internal port of 80. This means that any external machine wanting to talk to your computer would comunicate over the internet on port 8793 and then the router remaps that to port 80 as the data enters your network. But, port 80 is usually predefined to carry html traffic. If you were running a web server, then you would setup port 80.

fogger
03-05-2008, 12:35 AM
thanks, I'm still basically lost. I setup the VS per an example in the help file on the router just as a test, didn't help at all though. I'll remove it I guess.

I wonder if my McAffee or win xp firewall is blocking things?

I wish GP had just set up a game server we could all connect to and host the fields there. Back in the days of 56k dial-up I played Duke Nukem 3D online all the time and all I had to do was set up an account on some game server and it just woked. Didn't have to be a flippin' system admin to get it going either.

-Fog