Community Forum

Port Forwarding for a Headless Server with Static IP

New Poster

Port Forwarding for a Headless Server with Static IP

I'm having some difficulty navigating the xFi port forwarding service. I am attempting to set up a multiplayer session of the game Factorio on my headless server. To do this, I need to forward a port. The server machine is running Debian and I interact with it using Putty and WinSCP wich requires the machine to have a static IP. At least I think it requires a static IP, I'm still pretty unexperienced at all this. xFi seems unable to port forward a static IP address, how do I get around this?


Possible paths to a solution:


Bypass xFi somehow

This was extremely easy when xFi was not involved. Just set the port forward and you're good to go. Do I need to buy my own modem?


Set my server to dynamic IP

If I do this I'm not sure how to connect using Putty and WinSCP. Googling reveals some solutions that are out of my experience range. I don't know what other problems this may cause for the server down the road.


Get xFi to accept a static IP

There must be a way to do this right? 

Valued Contributor

Re: Port Forwarding for a Headless Server with Static IP

Comcast uses dynamic ips which are not static, but my ip rarely changes, I can go a year without it changing, I use Linux also and found using dmz  in the control panel, exposes that computer to the world, so you will need to use a Linux firewall to protect that computer, iptables works nicely and a lot of examples on the net to use it, you can forward ports on iptables for your game and any other ports you may need like ssh,  may not be th best solution, but it will work in a pinch without getting any extra equipment, also you can setup your Linux box as a router if you wanted to and the modem in bridge mode to do it that way, that would give you access to your Linux box to the internet and be your router all in one