Results 1 to 1 of 1

Thread: A simple forwarding rule?

  1. #1
    Join Date
    Mar 2011
    Beans
    77

    A simple forwarding rule?

    iptables -A FORWARD -p tcp -i INTERNET --dport 80 -d 192.168.56.101 -j ACCEPT
    I've been given this command which allows me to forward incoming port 25 connections to 192.168.56.101. What I was wondering though is if its possible to specify a port for the destination IP address?

    I want to forward connections from port 25 to 192.168.56.101 on port 2525
    Last edited by nkae100; March 17th, 2011 at 03:27 AM.

Bookmarks

Posting Permissions

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