Results 1 to 2 of 2
  1. #1

    Port forwarding, any easy way ?

    I've had a search on here & a couple of other forums and have basically come to the conclusion the IPTables are the way to forward ports. I'm not an admin and basically I'm now confused

    I want to forward port 115 on the source machine to a remote machine by executing a command on the source machine. And then execute a command to remove the forward (but no others). Tis cpanel/whm redhat & it's for newsgroup gathering.

    If somebody knows how to do this, can they let me know.

    Thanks in advance.

  2. #2
    Port forwarding with IPTables... this is from my fw.sh which you can grab at www.sekure.us

    #MASQ FOR INET SHARING
    #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    #PORT FORWARDING to laptop for DCC CHAT/DCC SEND on IRC
    #iptables -t nat -A PREROUTING -d 0/0 -p tcp --destination-port 9500:9600 -j DNAT --to 192.168.1.150

Posting Permissions

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