Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    redirect local http port to remote machine

    i am new to linux world... pls help me..
    i have a problem........ How to redirect local http port to remote ip address( using destro is Centos 5.3

    my rule is this
    iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination

    thanks in advance........

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Hi & welcome to this forum.

    This question is often asked and the answer is always the same. Please use the search function or ask google in the first place:


    Port-weiterleitungen bei OpenWRT

    Port forwarding for iptables (DMZ)

    Just to mention a few good resources.

Posting Permissions

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