Lee Leahu wrote: > > Is there a way to dynamically add and remove rules to an iptables live configuration? > > For example: > > I have a server and a workstion. the workstation is locked down tightly. I would >like for > when i ssh to a remote server, that iptables automatically opens the ident port on >the workstation > to that remote server, and after a connection is made, to automatically close it >back up again. > > Is this possible???
I suppose you could write a "wrapper" around the workstation ssh client that does -I (insert), -A (append), -D (delete) as needed.
