Port Forwarding on SonicWall TZ 210


Recommended Posts

Hey Guys wassup?

I've been trying to forward SSH from our Intranet Server to WAN via our SonicWall TZ 210.

So this is kinda what it looks like:

LAN is on X0

WAN is X3

The Server is 192.168.21.5

Any ideas peeps?

Thanks

Chris

Link to comment
Share on other sites

"I've been trying to forward SSH from our Intranet Server to WAN"

:blink: ???

You mean you want to forward traffic that hits your wan IP on port 22 (default ssh port) to your intranet server that is on 192.168.21.5

This does not work?

http://www.fuzeqna.com/sonicwallkb/consumer/kbdetail.asp?kbid=7027

Link to comment
Share on other sites

You mean you want to forward traffic that hits your wan IP on port 22 (default ssh port) to your intranet server that is on 192.168.21.5

This does not work?

http://www.fuzeqna.com/sonicwallkb/consumer/kbdetail.asp?kbid=7027

That works, but the issue is I have about 5 servers I need to SSH into and I can't seam to find any functionality to forward a different external port to a different internal port. Example:

192.168.21.5:2200 I want to access this via [wanIP]:3301

192.168.21.6:2200 I want to access this via [wanIP]:3302

192.168.21.7:2200 I want to access this via [wanIP]:3303

192.168.21.8:2200 I want to access this via [wanIP]:3304

192.168.21.9:2200 I want to access this via [wanIP]:3305

Link to comment
Share on other sites

Well that is not what you asked at all ;) Did not even hit at it..

Can expect to get an answer to something you didn't even ask.

That would be in the settings of the nat policy I would believe.

edit: simpler would be to just change the port ssh listens on, since you clearly have already done it showing your ssh on 2200 vs 22, so just change them to listen on 5 different ports, then forward those exact ports.

Link to comment
Share on other sites

Okay, I've done that, and the NAT Policy is forwarding 3306 to 21.5:3306 and clearly the port is open.

Example in screenshot:

But it won't connect.

This has probably become more of a linux orientated issue now.

post-180771-0-26031700-1302174047.png

Link to comment
Share on other sites

I attempted a connection to that IP (which you may want to delete the image for security reasons later) and got a garbled reply from it.

A

5.1.41-3ubuntu12.10FB3y)

Connection to host lost.

I would assume at this point it is a Linux issue. But to be certain, let's check some things. Do you have the ability to check traffic logs? Are they showing any deny/blocked connections? Maybe they are being allowed, but your device is doing packet inspection and causing issues.

Can you post logs?

If the firewall is showing everything is working right, we should check your Linux for functionality.

Laurence

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.