Is the a SSH commands reference list?
-
Specifically I'm looking for commands to view logs in real time. I'm trying to debug various NAT & VPN issues but unlike my other firewall devices, I can't seem to find something that will do this.
-
The diagnostics menu in the gui is very helpful, but you can get most of the same info via shell.
Most of the commands are stock FreeBSD and the man pages are available online. Eg- arp, netstat, pfctl… http://www.freebsd.org/cgi/man.cgi?query=pfctl&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE&format=html
pftop is also quite useful http://www.eee.metu.edu.tr/~canacar/pftop/pftop.8.html -
The logs issue is covered specifically on the Doc Wiki:
http://doc.pfsense.org/index.php/Why_can%27t_I_view_view_log_files_with_cat/grep/etc%3F_(clog)
Though I suppose it could use an entry in the How-To section as well.
As for the other commands, pfSense includes only a subset of the available commands found in the normal FreeBSD base system, and some others from various included packages. Your best bet is to look at the list of files in the various places on the path (/bin, /sbin, /usr/sbin, /usr/bin, /usr/local/sbin, /usr/local/bin) and look them up in more detail using FreeBSD's online man pages that dotdash linked to, or other online resources.
-
I have seen the clog page & have found it somewhat useful. It seems to be limited on which messages can be view @ a time. Basically 1 of the issue I'm trying to determine why using the FQDN doesn't work for IPsec. I got the tunnel to come right up when connecting the other end to IPCop, but then I saw in the messaging where the errors where & correct them on the spot. CLOG isn't showing me anything useful.