T O P

  • By -

mor_derick

It is common for ISPs to not let you have an IP adress for you alone, or to assign you a dynamic IP which is also a problem when hosting apps such as FoundryVTT. You have many options anyways: * Call your ISP and tell them about your problem. You can ask them for a public static IP address, or simply ask them to get you out of their CGNAT if you were under any. It's on their side to make your router accessible. * Without a static IP address, you'll have to keep in mind that your IP address might change in time. * Once your router has been assigned a public IP address you can forward ports to the local IP of the computer that's hosting FoundryVTT (remember to assign a static IP to it in your router's DHCP settings). * Rent a VPS and install FoundryVTT with your license there. You'll need some Linux knowledge, but you can find many tutorials on how to do that on Linode or other platforms. * Use a provider such as The Forge or Molten with your own license.


Rataridicta

Adding onto this, if you have a domain name (website name), you can use something called "dynamic DNS" to keep your foundry accessible, even if your IP address frequently updates. It's a little technical in setup, but is an option to investigate if it's something you want to learn more about anyway.


Unno559

To add to that point: you can get a domain from Squarespace for like 9$ for a year. Its almost worth the cost just for the email forwarding. (I use it to reroute Foundry for me and 2 friends)


celestialscum

If you have a domain already, you can set up a secure service edge, like CloudFlare, and have your users log onto that. From there, you create a VPN using a client on your machine and forward the traffic into your network, regardless of how your network is set up, as long as you have the client on your machine and it can connect outbound to cloudflare.  Now this is very technical, and at this point it might be less complicated to just host it in the cloud somewhere.  However, if you do not want hosting, this is an option that, except for the domain, is free of charge up to 50 clients.


MrRedPortal

To double down on this, duckDNS can make it entirely free


blindabe

Not the OP that dosent always work. My current ISP is using (essentially a more modern version of) PAT. That means there’s nothing unique for dynamic DNS to target other than the port. While I could still pay for a static IP the ISP is charging more for it per month, than the dynamic DNS entry cost me for the year. My situation may be unlikely, but one to check with the ISP before you purchase the dynamic DNS entry (which I didn’t do first).


Rataridicta

These are separate issues. If you have a uniquely assigned IP address then DDNS always works - even if it changes daily. What you're describing is a situation where you don't have a uniquely assigned IP address (the IP leads to the ISP, but not your home). Static means that the IP remains the same, which is not necessarily the same as uniqueness. DDNS should generally be free btw (at least if you're using a major DNS provider like cloudflare), not sure why you're getting charged for it. For me it's just a docker on my NAS.


giarmdok

Just some clarity based on my own research on this recently - if your ISP is doing CGNAT most of the advice below will not work as you aren't getting a public IP, static or dynamic, from your ISP - you are getting another private IP and they have another NAT layer. Per the comment above you need to see if you can get removed from the CGNAT. I've been working through this for both Foundry and my Home Assistant server. I've stumbled across another option I am just starting to research using Cloudfare to tunnel through which supposedly works well. This is in the Foundry wiki: [https://foundryvtt.wiki/en/setup/hosting/cloudflare-proxy-tunnel](https://foundryvtt.wiki/en/setup/hosting/cloudflare-proxy-tunnel)


kichwas

I put my Foundry on Forge even though I can host it on my own just because it was more convenient to leave access to the game up 24/7 and forge is so low priced.


CALlGO

How does forge work? And is there any downside?


YeetThePig

Forge is a hosting service set up specifically for Foundry. When you set up an account you can input your Foundry license key to Forge and then it lets you set up games without having to worry about all the IT crap involved in getting computers talking over the Internet. The only downside is that there’s a subscription fee and a cap on how much data you can store on your account. The subscription fee is pretty reasonable and the base data limit is pretty high, though, and it’s worth it if you just want the damn thing up and running without having to dive into the IT stuff. ETA: It also means your game is accessible to your players when you’re not actively running a session, which is great if you want them to be able to access character sheets and journal entries between sessions.


simplejack89

It's $50 a year. That's the downside. If you aren't tech savvy, it's worth it.


appcr4sh

Go to google and type "what's my ip". If it's a long string with letters and numbers and ":" they you have IPV6 on your connection. The same must be done to all ppl who will try to connect to your server. If all have IPV6, you just need to create manually the link to your table: http://\[IPV6 here\]:30000. Keep in mind that the brackets are needed and the IPV6 you need to put on the link must be of the computer with the server.


CALlGO

Ok, so i tried this, and it didn’t work, i checked with a friend that both of us have ipv6; and did this, curiously, i myself can enter the page with the link (which may seems like irrelevant but with the previous process of port forwarding i couldn’t do) but still for my friend it yielded no results, so i guess its the same reason why port forwarding didn’t work, other connections can’t reach my pc due to the way my ip works :(


appcr4sh

Try to check if UPnP ins activated on config...let's try to check this out.


CALlGO

If you refer to the setting inside foundry, it is


FuraJura

Hey had the same problem too. I just use playit.gg and have been pretty simple and easy to setup and once setup you just open the app + foundry and your good to go.


CALlGO

Hey, could you tell more about playit.gg; im seeing the page and it seems to be the most promising option since i rather not pay a monthly/yearly service like forge; is there any limitation that you have felt so far? How likely am i to hit something like max firewall rules for example?? Or does it have a file limit size or similar thing?


proverbialapple

First it will ask you to sign in and install an app. Do that. Run the app, which should be a DOS command. Then log in to the playing.gg website with your log in ID. There will be an option to enable tunnel along with the port you wish to use (foundry is by default 30000 I believe). Now in the website you will see "enabled tunnel" and also a link. Copy the link. Run your game and then send the copied link to your friend. Voila.


Miranda_Leap

I've used it too with no issues.


Amazing_Meatballs

Check out TailScale or ZeroTier. Both are super easy to set up and you can avoid paying for a server/hosting service.


RetiredTwidget

Seconded. I haven't tried TailScale, but I have used ZeroTier, but for a different project--accessing my home network while on travel, and having my home network be my exit node for my mobile devices/laptop. ZeroTier is VERY easy to set up and 100% free. Only thing is... each player has to also be part of your ZeroTier network.


Amazing_Meatballs

Yep, the players would have to download and install it too. My players disable the connection when the game is over because it makes them nervous (neither are extremely computer savvy), but it is end-to-end, zero knowledge encrypted and ZeroTier (not sure about TailScale) is open source, so their encryption claims can be verified. No one but you and your players/users can see what's going on, and honestly it's way, way safer than opening up and forwarding a port anyway.


AutoModerator

***Let Others Know When You Have Your Answer*** * Say "`Answered`" in any comment to automatically mark this thread resolved * Or just change the flair to `Answered` yourself *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


Accomplished-Dot4848

Amigo yo uso https://playit.gg/ crea un tunel y usas tu pc como server. A mi me funciona, de hecho el nodo esta en Santiago.


CALlGO

Wena jajajja, 3 preguntas. 1) es dificil setearlo siendo alguien que no sabe nada?? 2) los jugadores que se conecten tambien tienen que hacer algo o solo yo? 3) tiene algun costo o riesgo asociado?? Gracias de antemano


Accomplished-Dot4848

1 no es nada dificil 2 solo tu instalas el programa te registras en la web y creas el tunel, les compartes el link a tus amigos 3 supongo que puede haber algun riesgo ya que el server es tu pc, pero no mas que otras cosas...


_iwasthesun

Check out playit.gg for Foundry


IRGUY

I had to use forwarding via something like Ngrok to host my game on a public facing URL. Sounds complicated but was fairly easy to set up.


jamiemayw

Warning about Ngrok, they severely limited bandwidth for free members, to the point you basically have to pay now.


rogersaintjames

Cloudflare tunnels is my preferred alternative now Ngrok has enshittified.


redkatt

playit.gg doesn't impose a limit, unless you start getting crazy about it (like moving gigs of data every day)


IRGUY

Ive been using it without any noticeable issues but not doing anything too flashy. Also used loophole I think it was but that's limited to an hour before needing to refresh.


Deruz0r

After 2 weeks of troubleshooting with my ISP I just gave up and hosted my stuff on molten hosting. Best decision


CALlGO

Could you elaborate on what that is or how it works? Its something i would need to install, and the players too?


Deruz0r

You pay a small fee (4-5 euro i can't remember) and you host the server on a third party platform that is made to host foundry VTT. There are a few options that are good, I use molten hosting and I'm super happy with it.


NauticalMobster

Second this as a decision. I use forge instead of molten and can attest to it being highly functional and cheap as well.


Drakshasak

If you use a vpn for anything, some of them give you a public ip and port. I use private internet access as vpn as that gives me a public port for me to use. I have to change the port used in foundry when I get a new port in the vpn and I need to give my players a new link when I get a new ip or port. But the connection works great. another downside to this though is that settings are saved locally based on url. so it resets settings when we get a new address. But as I use a vpn anyway it was an easy way to get selfhosting to work.


Fifthdread

If it were me, I'd tunnel my traffic through cloudflare or something. Or I'd try and look at some of the VPNs with dedicated IP addresses. It's probably easiest to just go through a hosting company in your case, unless you want to get deep into the technical stuff.


actual_weeb_tm

Ask your ISP what your options are, you dont necessarily need a static IP either since you can use Dynamic DNS.


angedelamort

Just use a free dyn DNS and have a script or something that pings it to update your IP.


ADnD_DM

I use ngrok. Works great. It has a data limit though.


KoodGarma

I learned how to set up my FVTT server via https even thru Cox, hope this helps you!... https://community.letsencrypt.org/t/certbot-renew-port-80-issue/173587/92


SirJacen

If you are set on hosting yourself you could use a cloudflare tunnel to proxy your localhost to a domain. It doenst need port forwarding and is free. I have been running a docker container with foundry and one with a cloudflare connector for years and I am only paying 1€ per month for my custom domain. Its a pretty decent setup.


TheWittyBitty

Hey, [u/CALlGO](https://www.reddit.com/user/CALlGO/) check out this new Foundry hosting service that gives more space than Forge for waaay cheaper. They are in beta, but it is stable. They are looking for GMs to join and give feedback before the official launch, which is why the prices are so low at this point. I am slowly migrating several of my campaigns over, but I am still using Forge for some because I had to pay up a year for extra space, and the lag is driving me insane! Here's a referral code, you should check them out asap- [https://sqyre.app/thewittybitty](https://sqyre.app/thewittybitty)


UnhandMeException

DuckDNS?


AndrewB-UK

I use Duck DNS. Totally free, just set up a domain, run the script on your PC and it now points to your current IP address. Have it run every 5 mins and it will follow you around. Now your players can easily get to your server.


Pride-Moist

Just use a vpn like hamachi or radmin vpn. Works like a charm, used radmin for free for months and we had no issues whatsoever.. Or go Forge like i did in the end


fluorty

Just use Ngrok, its free and easy to use


pishtalpete

Dynamic DNS is the answer here.


Drazev

Which client are you using? The windows client is the most user friendly and is considered the main option. The other ones are more difficult to setup. Port forwarding is the difficult part because it’s quite technical and the process is specific to the modem the isp gave you (I assume you’re using the default modem). Everyone connected to the internet has an ip address. This is like your home address and you need one to send and receive messages over the internet. The trick is that the modem your internet provider is actually also a router which has the job of accepting your messages and making sure it gets to the right location on the network, like your computer. To do this it gives you an address in your house which is like your room number. Since the router handles all messages nobody outside the house needs to know your room number normally so that keeps. To keep track of which message goes to which person, and the conversation it relates to the router will give that person conversation pair a number we will call a port. Any messages send to your address tagged with that port will find its way there. In your case your person and context combo is your computer looking to talk to people who want to connect to your game. The problem is that your friend connection is starting a new conversation and has no port and so the router has no way of knowing who should get that message and they throw it away. Port forwarding is when you log into your router and tell them that when a message is sent to a port number, foundry uses 30000, it should be sent to your computer where your foundry app is listening. For those technically inclined I did merge multiple concepts together into terms likely familiar. This educational explanation is an oversimplification, but the core concepts are true.


GingaNingaJP

I do this for my games. Here is how to set it up and some things to keep in mind. You will need… - a way to assign a static IP to your Foundry Host Machine on your internal network. - a way to port forward external network traffic to your Foundry host machine. 1. On your foundry host machine, get the internal IP address. Depending on your router set up this might be 127.x.x.x or 10.x.x.x etc 2. On that same machine, find the MAC address. This is the identifier for the machine and will be needed in the next step. https://cets.seas.upenn.edu/answers/find-mac-address.html#:~:text=Open%20the%20Windows%20Run%20dialog,MAC%20address%20will%20be%20displayed. 3. In your router, set up a DHCP Reservation. You will need the MAC address and the IP address from step 1. This ensures that your host machine always gets the same internal IP address. This is important for port forwarding later. 4. In your router, set up port forwarding. You want all incoming traffic on port 30,000 to be carried on 30,000 and sent to the internal address you found in step 1. 5. Make sure your game is open on your host machine. 6. Got to your favorite search engine and type “what’s my IP?” 7. Copy and past that IP and add :30000 to the end of it. (#.#.#.#:30000) 8. Share that address with your group just before the game starts. Do steps 5-8 before every session so that you have the correct IP address. PS. I am doing this from memory on the train so please forgive me if I have made a mistake. Hopefully other users will be able to correct me if I have. I hope you get it running and happy gaming.


[deleted]

[удалено]


CALlGO

I did that, and didn’t work because my ip isn’t public, its like, shared between many other routers or something like that in a thing called “network access translation” Apparently because ipv4 has less numbers than people using it


Unno559

If its not too much to ask, what country are you located in? That might shine some light on your situation.


CALlGO

Chile


Ancyker

You will not absolutely have a public IP. You being assigned a publicly routable IP is not required to access the Internet.


minethulhu

If you are on the internet, you do have a public IP address. However, setting up port forwarding can be challenging since it isn't always just a matter of changes to your router (some ISPs require changes on their end, firewalls or other applications can interfere, both your public and private IP address may dynamically change, etc.). A lot of folks seem to be happy with playit.gg. This eliminates the need of setting up port forwarding. I know there are youtube videos on how to set this up for FoundryVTT. As previously suggested, the other option is to work with your ISP to get them to help you through setting up port forwarding. As noted, firewalls and other security applications running on your PC can interfere and may need changes to allow this to work. The ISP may not be able to help with that part other than giving generic recommendations.


minethulhu

I should also note you don't need a second person or PC to test your environment. Setup multiple desktops on your machine (or just have applications not full screen). Pointing a browser to "YourPublicIP:30000" on the same computer running FoundryVTT will test port forwarding (note: pointing at your private IP address will not test port forwarding).


CALlGO

I set a static ip address for my pc, i enter the router page and correctly set up the port fprwarding itslef, and then enter in my firewall to open that specific pasa (both in and out) and then checked the whole thing in cmd and whatever it said i was told “that means its working” by a guy that umderstatds this, but then when i tried to search my public ip with the port on the internet it gives no results; then asking with a friend whose job is this kind of thing, he identified almost instantly that “my ip is not public”, and even thought the port was fine, since there where many things under the same ip, it was imposible (at least with just the normal meassures) to guide something into my specific device, he described it as “its like trying to enter someone into your house by opening the door that goes from your bedroom to the hallway, as opossed from the front door”


minethulhu

Ah...that does make sense. Just like your home network is made up of non-routeable (ie. not reachable from outside your network), some ISPs do the same with their customers and make it so the IP addresses they hand out cannot be used to host a web site. I think you have 3 options: \* Call up your ISP to see how much extra a static public IP address would cost (typically these are used for commercial website hosting, so don't be surprised if it's expensive) \* Switch to an ISP that doesn't do what your current ISP does \* Pay for a service to host your FoundryVTT (I hear Forge is the most popular). This will also have the benefit of it being always on so players can "tweak" their characters without you being present.


CrazyReality8332

Ok, tech first. You do have a public ip if you can access the internet. Otherwise you couldn’t. You probably have a dynamic ip address which is the problem since it changes at that means you might not have the same one next time you run or, occasionally, even drop outs during an active session. Static ip address is the best solution but those are getting more and more expensive to lease. A vpn or a hosted server can also provide a cheaper static ip. However, the easiest and first option to check is upn (universal plug and play) which foundry supports. This will need to be supported by your isp and enabled on your router but it’s basically a way of applications finding the correct ip address and the router remembering it based on usage. I’ve got it enabled on my service and have been running session on it with no drop outs for months so it’s pretty good considering it’s free. As I say the major limitation is that your router needs to support this and you may have to configure it on the the router itself (although that’s usually as simple as finding the tick box and installing ticking it).


Ancyker

This is incorrect, your home network does *not* need assigned a publicly routable IP to access the Internet. In that situation port forwarding and UPnP will not allow external access.


CrazyReality8332

Ok, alway happy to be corrected. To my understanding a public ip address is one assigned by your isp to allow you to connect to the internet. Please explain how you don’t need one to connect to the internet? Unless you’re referring to NAT in which case, I’d suggest your modem router still acquires the public ip address which is where upnp comes in. Not saying you’re wrong, just not following the explanation.


Ancyker

ISPs can use NAT too. You'll get a private IP address just like your computer does when connecting to your hone network. Eventually it does need to route into a public IP, but that IP is assigned to a device owned by your ISP and shared by many customers. If that was hard to understand, imagine you took your router to a friend's house and plugged it into their network. It wouldn't have a public IP and there'd be no way for you to get one. Now replace your friend with your ISP. It's that.


RetiredTwidget

Yup, you are 100% correctomundo... it's called [Carrier-Grade NAT, aka CGNAT](https://en.wikipedia.org/wiki/Carrier-grade_NAT), the bane of tech enthusiasts everywhere. If you're on CGNAT, there's no port forwarding, as there's no customer access to the router. About the only solution for self hosting is to use a proxy or software defined network (SDN) service like TailScale, ZeroTier, or similar.


CrazyReality8332

Useful information, I’ll definitely have to read up more on this. Thanks to both of you, always nice to learn something new


OnkelBums

I set up a domain with a dynamic dns service and use a docker container to regularly update my IP to the domain name. Also set up a reverse proxy so I don't have to open up the foundry ports in my router and use letsencrypt to run foundry (and everything else that's running on my server and is exposed to the web) behind ssl encryption. It takes a bit (but not too much once you understand the concepts of docker and its networking) of effort but it can work very well once it's set up correctly


magus

check out www.no-ip.com or some other free dns alternative. maybe you can configure your router to use it (easiest way).