#Port Forwarding
1 messages ยท Page 1 of 1 (latest)
Just going to create a thread to streamline this a bit
Ok, so are you on your PC now?
Yes
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
ok if you do win+shift+s you can take a partial screenshot, (makes it easier to read) ๐
But i can see what I need, ok so in your web browser of choice, go to 192.168.1.1
done
are you presented with a login page?
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
its the destination thing that is not working i guess not sure what should be there
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
Is that all it gives you? Just blank boxes?
Or are there headers to those boxes at the top?
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
and nothing needs done with DynDNS?
I would turn that off, we are looking at Port Forwarding, not DynamicDNS ๐
That's a different kettle of fish
the computer had no objections
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
done
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)
yes minus the 30000
Ok so the next thing is to look for 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.
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.
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 ๐
cant paste to it
Try right clicking or shift+insert
nope
are you sure you copied the line? Cause there's no reason it shouldn't paste
on a laptop and the insert button is also the delete one
Oh I see, and you using a touchpad rather than an external mouse?
Wait for it to finish...
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
Have you heard of our lord and savor, "Copy and Paste"? ๐
if it worked i would do that.
Right-click should work
if you are on a touchpad just hit as right on it as you can
I know but i doesn't work for some reason
weird
posted a new blue saw the error and fixed it
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
did you set the destination to that?
cause i put the wrong thing in but changed it now
So is it pointing to 192.168.1.145?
yes
ok
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 ๐
Man this should be made simpler, but it was as i suspected that the destination was wrong
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.
Dannish Hokey Cup Prize or what?
Dynamic Host Configuration Protocol
It's the bit that tells your PC how to behave on the network.
So the IP that rule is pointing to is your PC IP right now, but without a reservation, that can change at some point
Like what DNS servers to use, where the internet is at, and what's it's private IP for the network.
but with a DHCP reservation, it tells the router that device always gets that IP!
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.
ill break the computer soon, so if i move to diffrent adress ill have to redo it? ill think i can handel that, now that ive learnt new screenshot tricks,powershell and stuff
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.
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.
it is on static lease
Yea, that's the other term they use for reservation.
Router makers keep using random terms for the same thing.
so then it should be fine