#Port Forwarding

1 messages ยท Page 1 of 1 (latest)

pallid sonnet
#

Just going to create a thread to streamline this a bit

#

Ok, so are you on your PC now?

inland jungle
#

Yes

pallid sonnet
#

Ok so open up command prompt, (in Type here to search bottom left, type in cmd)

#

then once you have that open, run the command ipconfig

#

Then send a screenshot of the results

inland jungle
pallid sonnet
#

ok if you do win+shift+s you can take a partial screenshot, (makes it easier to read) ๐Ÿ˜‚

inland jungle
pallid sonnet
#

But i can see what I need, ok so in your web browser of choice, go to 192.168.1.1

inland jungle
#

done

pallid sonnet
#

are you presented with a login page?

inland jungle
#

yes i have been in here before today

pallid sonnet
#

ok perfect, sign in for me then send me a screenshot of what you are greeted with

#

Ok perfect, so go to the Port Forwarding page for me

inland jungle
#

its the destination thing that is not working i guess not sure what should be there

pallid sonnet
#

ok, let's delete that rule as I can see what's wrong, and create a new one! Send me a screenshot of the menu you get when creating a new rule and I'll talk you through it

inland jungle
pallid sonnet
#

Is that all it gives you? Just blank boxes?

#

Or are there headers to those boxes at the top?

inland jungle
pallid sonnet
#

Ok so you had nearly everything right in the first rule so I will talk you through what it is after:
- Name: A reference for you so you know what service the rule is for,
- Protocol: How it handles transfer of data, (Google UDP vs TCP if you want to get an idea of the difference in protocols), but TCP is what we want in our case,
- WAN and LAN Port: The port number a service uses that traffic gets forwarded to, (in this case, Foundry uses 30000 by default but you can change that if you want) so let's just set them to 30000
- Destination: This is the IP of the PC you are forwarding traffic to, (your PC), and the IP of which is found by running ipconfig in Command Prompt, so in this case it's 192.168.1.145

#

That IPv4 address is the machine's IP. Note, if you don't set the reservation in your router for your PC to have a static IP, this can change which means you'll need to change your port forward rule).
Let me know once you have created the new rule and if you have any questions about any of it

inland jungle
#

and nothing needs done with DynDNS?

pallid sonnet
#

That's a different kettle of fish

inland jungle
#

the computer had no objections

pallid sonnet
#

Cool, next thing is in Foundry is to disable UPnP

#

So go to your admin menu, (where you launch worlds from), go to the Configuration tab, then untick the check box next to UPnP

inland jungle
#

done

pallid sonnet
#

That should give Foundry a restart, so next step is to try connecting from a device not on your network

#

Feel free to DM me the Internet Link, (or post it here), and I can try connect as well to confirm

#

Ok, so 2 things, firstly, go to https://whatsmyip.org and confirm the IP there is the same as your invite link, (you can delete the invite link now)

inland jungle
#

yes minus the 30000

pallid sonnet
#

Ok so the next thing is to look for CGNAT

opal owlBOT
#
Carrier Grade Network Address Translation (CGNAT)

CGNAT is a service used by ISPs to decrease the number of IPv4 addresses their networks use. It places an additional router outside the customer's own network and provides them with an internal IPv4 address provided by the company. This often prevents incoming connections on numerous ports.

Confirming the presence of CGNAT

To confirm you are affected by CG NAT, use one of the following commands:

Windows 10: open a powershell window and use the following command
tracert (curl https://ifconfig.me/ip -UseBasicParsing); tracert 8.8.8.8

Mac/Linux: open a terminal and use the following command
traceroute $(curl ifconfig.io); traceroute 8.8.8.8

After the command has completed, please post a screenshot here with the results so a troubleshooter can interpret them.

pallid sonnet
#

You can post the results here, but the same way we opened command prompt, open powershell then make sure you copy and paste the full line ๐Ÿ™‚

inland jungle
#

cant paste to it

pallid sonnet
#

Try right clicking or shift+insert

inland jungle
#

nope

pallid sonnet
#

are you sure you copied the line? Cause there's no reason it shouldn't paste

inland jungle
#

on a laptop and the insert button is also the delete one

pallid sonnet
#

Oh I see, and you using a touchpad rather than an external mouse?

inland jungle
pallid sonnet
#

Wait for it to finish...

inland jungle
pallid sonnet
#

you added a space between- and UseBasicPrasing

#

and it should be -UseBasicParsing

inland jungle
pallid sonnet
# inland jungle

so again you typed it in wrong, so if you hit the up arrow in Powershell, it will load the last command, then just change it to Parsing

#

you have Prasing at the moment

lethal vigil
#

Have you heard of our lord and savor, "Copy and Paste"? ๐Ÿ˜›

inland jungle
pallid sonnet
#

Right-click should work

#

if you are on a touchpad just hit as right on it as you can

inland jungle
inland jungle
pallid sonnet
inland jungle
pallid sonnet
#

Yeah no worries, so you are clear of cgnat, so now just trying to figure out why you can't connect, you mind screenshotting the port forward rule that we set up earlier, just to do a sanity check

inland jungle
pallid sonnet
inland jungle
#

cause i put the wrong thing in but changed it now

pallid sonnet
#

So is it pointing to 192.168.1.145?

pallid sonnet
#

try again now then

#

I can connect to it on my phone

inland jungle
#

ok

pallid sonnet
#

turns out it was just that rule

#

Sorry for going through CGNAT, was an unnecessary step, though at least you know you aren't behind it ๐Ÿ™‚

inland jungle
#

Man this should be made simpler, but it was as i suspected that the destination was wrong

lethal vigil
#

Setting up a DHCP reservation will save you the headaches down the road.

#

That way your router hands that IP to your PC all the time.

#

Not something random, nor handing it out to another thing.

inland jungle
#

Dannish Hokey Cup Prize or what?

lethal vigil
#

Dynamic Host Configuration Protocol

#

It's the bit that tells your PC how to behave on the network.

pallid sonnet
#

So the IP that rule is pointing to is your PC IP right now, but without a reservation, that can change at some point

lethal vigil
#

Like what DNS servers to use, where the internet is at, and what's it's private IP for the network.

pallid sonnet
#

but with a DHCP reservation, it tells the router that device always gets that IP!

inland jungle
#

๐Ÿคฏ

#

you are speaking in arcane words

lethal vigil
#

Doing it on the router means that you don't mess with the laptop's network config, which means that it won't break when you take it other places.

inland jungle
lethal vigil
#

You may have to redo the forwarding as soon as a day passes with the laptop off.

#

Really depends on how long the router issues the lease for the IP.

inland jungle
#

end of march

#

mars

lethal vigil
#

Trying to set a static IP on the laptop will break it's networking if you connect to any other networks, possibly even causing errors for other devices.

inland jungle
#

it is on static lease

lethal vigil
#

Yea, that's the other term they use for reservation.

#

Router makers keep using random terms for the same thing.

inland jungle
#

so then it should be fine