Running a server behind a firewall

Talk about multiplayer ZDoom games here.
Forum rules
Image
Post Reply
Dragon

Running a server behind a firewall

Post by Dragon »

Has anyone yet figured out how to run Zdoom from behind a hardware firewall?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Open the necessary ports.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Re: Running a server behind a firewall

Post by Hirogen2 »

Dragon wrote:Has anyone yet figured out how to run Zdoom from behind a hardware firewall?
If from the topic, I would say follow Hotwax's advice.
Depending on your situation, this might even not suffice (i.e. if you got a VPN address such as 192.168.x.x, 169.254.x.x, 10.x.x.x etc.), in that case you would need an awkward combination of NAT and Port Forwarding.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

I believe you simply need to forward port 5029 through the firewall to the computer which will host the game. A client behind a firewall needs to do nothing. Be sure that the clients join the host's WAN IP address, not the LAN IP address. Also, be sure that the host starts with -netmode 1 if there are three or more players.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Clients on the same LAN should use the LAN address.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

Risen wrote:Clients on the same LAN should use the LAN address.
Of course. It's even easier for clients to just join the host by computer "name" on the LAN, such as zdoom -join Ivana where the host's computer is identified as Ivana in the network properties.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Yeah, I figured you were aware of this, I just thought it might clear any confusion for someone else.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

Good call, Risen.
Post Reply

Return to “Networking”