Hi! Im new debian server owner and i cant solve two problems.
1. How to redirect port 17000 from s.domain.pl to 17000 on domain.pl. I heard something about iptables and prerouting, but I have no idea what to do.
2. I cant install GD lib on php5. After:
what I get is:
apt-get install php5-gd
with --fix-missing nothing repairs.
Failed to fetch [FORUM CENSORSHIP]security.debian.org/pool/updates/main/p/php5/php5-gd_5.3.3-7+squeeze13_amd64.deb 404 Not Found [IP: 18.104.22.168 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Thank You for help and sry for bad English.
Problem 2. SOLVED. Ofc I forgot to do apt-get update and upgrade... stupid me.
anyone? Pls help me. I have tried:
But didnt work.
iptables -t nat -A PREROUTING -i eth0 -p tcp -d s.domain.pl --dport 25565 -j DNAT --to 127.0.0.1:25569