Tom Eastep wrote:
> Marcus Limosani wrote:
>> I have successfully used the examples on the shorewall.net site to
>> implement port knocking to allow me to gain shell access to the
>> server i control.
>>
>> I am wondering how I can modify the SSHKnock script to open another
>> port at the same time.
>>
>> I am wanting to additionally open port 10000 for webmin access.
> 
> I recommend simply tunneling webmin over your SSH connection. When you
> initiate your ssh session:
> 
>       ssh -X 9000:foo.bar.com:10000 foo.bar.com

The -X should be -L:

        ssh -L 9000:foo.bar.com:10000 foo.bar.com

Although, it is legitimate to use both -X and -L:

        ssh -X -L 9000:foo.bar.com:10000 foo.bar.com    

The -X option allows you to run X-based apps on the remote system; ssh
tunnels X back from that system to your local X server.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to