How do i configure guarddog so i can use SSH remotely and ping my box?
Hey everyone
Here is the deal. I am currently running Slack 10.2 with Guarddog as my firewall.I Have SSH set up on my system. I want to be able to connect via SSH remotely to my computer. When I tried to ping my home computer remotely, the ping request timed out on me!Also I was not able to SSH from remote to my Linux box. I suspect this is an issue with the firewall configuration. How do I go about configuring guarddog so that I can ping my linux box AND SSH to it from a remote location? |
How is your home PC connected to the internet? Is there an router which has a build-in firewall?
|
well my computer is connected to the internet via DSL. My desktop runs a cat5 cable to the router/modem that my ISP provided me with. I do not know if the actual router/modem has a built in firewall. I did port-forward port 22 and configure it for SSH in my router using the router configuration page.SSH works when i disable guarddog. But when guarddog is reenabled, no computer is able to ping nor SSH into my computer.
|
I can't help you with guarddog, but i want to recommend that if your router supports it, forward a diffrent port for ssh. What i mean is, make it so when you remotely ssh in, you are aiming at a port other than 22, such as 422, or 8022, or any non-standard ssh port. Have the router then forward that traffic to port 22 on your computer. I say this because there are a lot of script kiddies out there with brute force password guessers, you will see all their attempts in /var/log/messages.
Also, since you are using a software firewall along with your hardware firewall (router) i assume you are the paranoid type (a good thing) so you will want to edit /etc/ssh/sshd_config and add something like this: Code:
AllowGroups users I hope i helped a bit, though i know nothing about guarddog. |
For Guardog, it works as follows:
- go to the "Protocol" tab - in "Defined Network Zones" choose "Local" - in the "Zone Properties" Part expand "Interactive Session" - check the checkbox that is at the intersection of line "SSH - Remote Login Protocol" and column "Internet" (the checkmark must correspond to the one that is shown next to the label "protocol is permitted") - finally, Apply these rules What you did this way is that you said that the Local zone (i.e. your machine) serves SSH to clients in zone Internet. |
Quote:
You said: Quote:
|
All times are GMT -5. The time now is 08:00 PM. |