CPressland Posted April 6, 2011 Share Posted April 6, 2011 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 https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/ Share on other sites More sharing options...
+BudMan MVC Posted April 6, 2011 MVC Share Posted April 6, 2011 "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 https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/#findComment-593862930 Share on other sites More sharing options...
CPressland Posted April 6, 2011 Author Share Posted April 6, 2011 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 https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/#findComment-593862940 Share on other sites More sharing options...
+BudMan MVC Posted April 6, 2011 MVC Share Posted April 6, 2011 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 https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/#findComment-593863122 Share on other sites More sharing options...
CPressland Posted April 7, 2011 Author Share Posted April 7, 2011 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. Link to comment https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/#findComment-593865262 Share on other sites More sharing options...
Demonic1 Posted April 12, 2011 Share Posted April 12, 2011 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 https://www.neowin.net/forum/topic/988222-port-forwarding-on-sonicwall-tz-210/#findComment-593882186 Share on other sites More sharing options...
Recommended Posts