Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 16:00:12 +1100
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        freebsd-ipfw@freebsd.org
Subject:   connecting a PS4 via IPFW
Message-ID:  <5655405C.1060301@menhennitt.com.au>

next in thread | raw e-mail | index | archive | help
Hello IPFWers,

I have a box running FreeBSD 10-stable that I use as a
router/firewall/NAT. It runs IPFW and uses kernel NAT. My son is nagging
me about playing multi-player online games on his Sony PS4.

>From what I've read, I could enable UPnP. But I've tried compiling the
net/miniupnpd port but it won't build for IPFW (and I don't want to
convert to PF).

Giving up on that, I'm now trying to enable port forwarding -
apparently, this will fix it. I've allocated the PS4 a static IP address
on my LAN. I need to port forward TCP ports 80, 443, 1935, 3478-3480,
and UDP ports 3478-3479. I've tried the following command:

ipfw nat 1 config \
        redirect_port tcp ${PS4_LAN_ADDRESS}:1935 80 \
        redirect_port tcp ${PS4_LAN_ADDRESS}:1935 443 \
        redirect_port tcp ${PS4_LAN_ADDRESS}:1935 1935 \
        redirect_port tcp ${PS4_LAN_ADDRESS}:3478 3478 \
        redirect_port tcp ${PS4_LAN_ADDRESS}:3479 3479 \
        redirect_port tcp ${PS4_LAN_ADDRESS}:3480 3480 \
        redirect_port udp ${PS4_LAN_ADDRESS}:3478 3478 \
        redirect_port udp ${PS4_LAN_ADDRESS}:3479 3479

but that completely kills my Internet connection for all other uses (and
the PS4 still doesn't work!).

Could somebody please give me some clues.

Also, what are the risks of doing this port forwarding?

Thanks,
    Graham



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5655405C.1060301>