Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    2

    Question Two questions


    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:
    Code:
    apt-get install php5-gd
    what I get is:
    Code:
    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: 128.101.240.212 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    with --fix-missing nothing repairs.


    Thank You for help and sry for bad English.

    EDIT:
    Problem 2. SOLVED. Ofc I forgot to do apt-get update and upgrade... stupid me.

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Posts
    2
    anyone? Pls help me. I have tried:
    Code:
    iptables -t nat -A PREROUTING -i eth0 -p tcp -d s.domain.pl --dport 25565 -j DNAT --to 127.0.0.1:25569
    But didnt work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •