• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Port Forwarding Help

K

Kyle Lindeque

Guest
Hi,

I recently setup a gaming server.
However I have now returned to university, and am unable to connect to it because of the universities firewall in my residence hall. I am wanting to setup port forwarding, so that the following:
a) people connecting on the default port (25565) are unaffected
b) using an alternate port, 8080, such that I will be able to connect and have the server internally router it to 25565.

Is this possible? If so, can someone advise me as to what NAT rules I should setup in IPTables.

Thanks.
 


Ok, so the university's firewall won't let you connect out to 25565 on the remote server?

And, the game server is the remote iptables firewall that you want to modify...

Code:
iptables -t nat -A PREROUTING -p tcp --dport 8080 -j REDIRECT --to-port 25565

Give that a shot :)
 
AHHHH Thank you for helping me defeat "The System". I can connect again! :eek:
 
Ip table is the great way to stop any tampering
 


Top