Welcome to the Linux Foundation Forum!

Port Forward

caperj
caperj Posts: 1
edited November 2016 in New to Linux

Need help making adding this rule so it looks like this when I check the tables, also how do I delete after test and is there anything I have to do to save and activate it.

 

Chain PortForwarding_22608 (1 references)

target     prot opt source               destination         

DNAT       tcp  --  anywhere             anywhere            tcp dpt:34599 to:10.60.0.129:34599 

Comments

  • saqman2060
    saqman2060 Posts: 777
    edited December 2016

    What program's configuration file are you using to write in the above script line, ipTables or some other program?

    I see the target is "DNAT". Is this a program on the destination computer you are allowing access to for all other computers "source anywhere"? 

    I am guessing you are behind a locate network. If not correct me. 

  • saqman2060
    saqman2060 Posts: 777
    edited December 2016

    Does anything in this article cover what you are trying to accomplish?

    http://www.systutorials.com/816/port-forwarding-using-iptables/

Categories

Upcoming Training