You are not logged in.

#1 2009-01-17 00:00:19

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

How to test iptables/knockd/sshd

Is there a way to fake connections like knock/ssh as if it's coming from outside?

For instance I can't test knockd without using an online port scanning site. (knock localhost or IP or nmap localhost isn't getting registered)

Especially when things get more complicated such as knockd opening the ssh port for a specific IP, I'd like to see iptables -L as it is doing that.

Offline

#2 2009-01-17 06:06:45

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: How to test iptables/knockd/sshd

ssh to another machine [outside your network], then ssh back to the machine you're configuring.

If you don't have another machine I can let you ssh to here; just PM me.

Last edited by dav7 (2009-01-17 06:07:19)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

Board footer

Powered by FluxBB