Question:
A Problem with PUTTY connection on an ipcop firewall virtual network?
anonymous
2011-11-09 07:16:38 UTC
Just recently started a networking task involving some oracle virtual box clients, and my home pc host.

Ive configured an ipcop firewall to act as a secure gateway between a server, a demilitarized zone and an outside host (my pc).

Ipcop uses the ip adapters Red (connectes ipcop to outside network) and Orange adapter (connects ipcop to a linux server.

I've just installed Secure Shell (SSH) on the Linux server, now trying to connect to this using PUTTY from my pc, through the firewall. The rule is set on ipcop for port 22 against the Linux server ip address.

Every time a timeout error occurs when connection through PUTTY is attempted.

My Linux server is set to internal network adapter (i've heard that this can be a problem; some argue it should be bridged). Linux server can ping both red and Orange adapters on ipcop; likewise ipcop can ping the Linux server.

My host pc can ping the red adapter, and vice versa, but cannot access the orange adapter.


Could this be a problem with PUTTY, ipcop rule or SSH configurations?

P.s. PUTTY cannot connect to any port or ip address on any protocol (i.e. Telnet, Rlogin, etc).
Three answers:
Andrew S
2011-11-09 07:29:53 UTC
There are a few too many variables to cover here. SSH (even the server side) is usually installed by default in most distributions as part of the base package but you'll need to activate it. How you do that varies between distros but it usually involves copying or enabling an init script.



Secondly, what does the Linux machine's routing table look like? Is there a default route? Does it know about the VPN and is it using it?



Those are the first two thing I'd look at, but there are numerous other possibilities.
Adrian
2011-11-09 09:09:55 UTC
Orange - is that not the DMZ zone (green is LAN, blue is wifi). Usually DMZ blocks everything between green(and blue) to orange.

You may have to check that SSH is even allowed "out" of the green zone, then allowed into the orange zone. You need to also allow "established" connections back from orange to the green, which I don't recall any detail about.

Add in this VM stuff, and you now have multiple virtual adapters (diffferent machines). Verify all the IP addresses, and make sure you specify rules for each.



As a test, you could open "everything" between orange and a green zone, just to see if the network routing is working properly.
?
2016-12-11 00:40:31 UTC
Neither has its very own firewall. attempt uninstalling SP 2 ane reinstalling it. that should fix the homestead windows firewall. you need to could wipe the full disk out by using deleting the partition and reinstalling homestead windows.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...