Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 10
Report Inappropriate Content
Message 1 of 3



How do i access external linux servers running SSH using putty via MWG instead of opening FW?



2 Replies
Level 7
Report Inappropriate Content
Message 2 of 3

Re: SSH via MWG

It is not a good idea (security reason) but possible:

1. MWG should be configured to tunnel traffic to your servers

2. In putty you should specify proxy  settings (Connection -> Proxy)

McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: SSH via MWG


Hope you are doing well.

In which proxy mode is your MWG deployed?


In order to route SSH (port 22) traffic via MWG, you can make use of SOCKS proxy in MWG.


In order to route SMTP traffic on port 25 you will need to make use of SOCKS proxy on MWG. With SOCKS proxy you can tunnel SMTP traffic via MWG.

The only way to pass SMTP on MWG is to use SOCKS Proxy.(version >7.4.2)(configure new port for this if you want, per default 1080). With version >= 7.4.2 you will find a "SOCKS Proxy" ruleset in the library.

By default SOCKS proxy port is 1080.

Just enable the port under Configuration>Proxies and create a policy for SOCKS traffic by using Common Rules > SOCKS Proxy from the Rule Library.

You can enable SOCKS proxy by navigating to configuration->Appliance->Proxies->SOCKS Proxy->Enable it.

Then in Policy tab you need to import SOCKS proxy rule set from library.SOCKS proxy rule set is present under Common rules.

Please refer below link to know more about SOCKS proxy:-

Page 90.



In putty application their is a option Connection->Proxy->Proxy Type-> Select SOCKS and enter proxy details.


Note:-  Port 22 should be allowed on your firewall ahead of MWG for MWG IP Address.




Alok Sarda



You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community