Profile Details

Toggle Sidebar
Recent updates
  • Sean Z
    Sean Z replied to a discussion, Port Forwarding newbie question

    Thanks Nick. I managed to do the comparison before and after and crafted out the iptables rules. I just did a test and its working. Quick question, to make this stick after a reboot on COS7, I have to use iptables-w for the commands in cli correct?

    What I was trying to do was automate firewall rules via php script we have on a another server with various logic. The server then sends the port forward command via ssh ( I have a vpn from the server so no need to open ssh port to the world ).

  • Sean Z
    Sean Z started a new discussion, Port Forwarding newbie question

    Port Forwarding newbie question

    I am currently using COS7 and want to do a port forward. For example, I want to forward an external request 1.2.3.4:1234 to an internal IP 5.6.7.8:1234. Is it possible to achieve this all through the CLI. I have it working with the gui using the port forwarding app but not through CLI.
    I am writing a script and would like to achieve this all through the command line without using the COS gui. Any pointers?

  • Sean Z
    Sean Z unlocked the badge Newbie
    Newbie
    Congrats on registering on the site!
  • Sean Z
    Sean Z just registered on the site