On Monday 25 April 2005 12:24 pm, Joni Hoppen wrote:
FW_FORWARD_MASQ="201.173.40.0/26,192.168.0.37,tcp,22" or FW_FORWARD_MASQ="201.173.40.130/26,192.168.0.37,tcp,22"
after that when i tray to connect to ssh ..... i still conectin ssh in to my firewall....
i glad if somecan help me whith that
When you set up the basic firewall settings you most likely allowed port 22 into your firewall. You can't have port 22 going to both places. You can either uncheck port 22 in the basic settings (FW_SERVICES_EXT_TCP does not contain SSH or 22) or change the port being used above. FW_FORWARD_MASQ="201.173.40.0/26,192.168.0.37,tcp,322,22" The above would forward port 322 to port 22 on the other system. This way you could ssh directly to both machines. You would need an SSH client capable of using different ports. I am using a similar line: 199.6.38.58/32,192.168.50.192,tcp,8080,80 to access another web server You could also swap this around. Change the port for SSH on the firewall to something other than 22. You would still need to uncheck SSH in the basic settings and add the new port in the advanced box (FW_SERVICES_EXT_TCP="newport"). I hope that made sense ... I don't always ... if not, could someone else say what I mean? ;-) -- Louis Richards