Find the answer to your Linux question:
Results 1 to 3 of 3
Is there software that will redirect requests to port 80 on one PC to another on the NAT. I tried Firestarter but am completely lost i am using ArchLinux and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    Linux software like Port Forward Analog X


    Is there software that will redirect requests to port 80 on one PC to another on the NAT. I tried Firestarter but am completely lost i am using ArchLinux and I would say have moderate knowledge

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    iptables can do it, but I can't remember enough about it to give you the answer. Just google for 'iptables ip masquerading'

    should give you what you need
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    IPTABLES TUTORIAL NAT'ing

    The command would have to be in the nat table like this:

    Code:
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination <Web Servers IP>

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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