Re: SSH Connections Lost After 1 minute idle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 13 July 2004 11:48 pm, Real Cucumber wrote:

> > > I've done this using IPtables and the mangle table.
> >
> > Please explain how you have used the mangle table to
> > achieve this.

> --------
> iptables -t nat -A PREROUTING -p tcp --dport
> $WAN_SSH_PORT -i $WAN_INTERFACE -j DNAT --to
> $INTERNAL_SERVER_IP:$INTERNAL_SERVER_SSH_PORT
> ----------

Oh good - you mean the nat table, not the mangle table.

That makes good sense, then.

Regards,

Antony.

-- 
"I don't mind that he got rich, but I do mind that he peddles himself as the 
ultimate hacker and God's own gift to technology when his track record 
suggests that he wouldn't know a decent design idea or a well-written hunk of 
code if it bit him in the face. He's made his billions selling elaborately 
sugar-coated crap that runs like a pig on [sedatives], crashes at the drop of 
an electron, and has set the computing world back by at least a decade."

 - Eric S Raymond, about Bill Gates

                                                     Please reply to the list;
                                                           please don't CC me.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux