Reply

v3 weird problem

calmius
Aspirant

v3 weird problem

Hello!

I've got a weird problem.

Connected to my WNDR3700v3-router is a couple of devices both wired and wireless. One of my computers is a xbmc-box running Ubuntu with a SSH-server. When I try to connect to it I get "Connection refused". Here's the weird part.
I've added a port-forward for SSH to the Ubuntu server, and if I connect on the WNDR3700's external interface it works just fine.

First I thought that there was an issue that I'm connection from a wireless to a wired, but I have another linux-box with a SSH-server and I can connect to that.

I have no firewall on the Ubuntu-box.

Anyone have any idea?
Message 1 of 10
jmizoguchi
Virtuoso

Re: v3 weird problem

you are not doing loopback are you? pc behind the lan hitting external that sits on same LAN will not work
VPN Case Study

VPNCASESTUDY.COM

"Our Second To None VPN Related Setup Case Study[/COLOR][/URL]

"One Stop Solution To Your Netgear VPN Connectivity"

*Visit the site for Non-VPN related Doc & Links* [Windows & Mac user/support]





June Mizoguchi-
Message 2 of 10
smlunatick
Aspirant

Re: v3 weird problem

If you are trying to access the XBMC / Ubuntu "server" box from the LAN side, the problem is with the Ubuntu Linux settings.

You will need to look thru the Ubuntu settings and adjust as needed.

PS: Linux has additional security -- SELinux. This adds additional security for each Linux module:

http://selinuxproject.org/page/Main_Page
Message 3 of 10
calmius
Aspirant

Re: v3 weird problem

jmizoguchi wrote:
you are not doing loopback are you? pc behind the lan hitting external that sits on same LAN will not work


Right now, I'm not sure what I do. :confused:

Basically, the set up is like this:

Netgear "outside" address is 192.168.10.11 (I've got an external fw that keeps the outside out)
Netgear inside address is 192.168.1.1
ubuntu: 192.168.1.2
laptop: 192.168.1.5

Netgear has a portforward from "outside" to 192.168.1.2 on port 22

If I connect from laptop to 192.168.1.2 I get connection refused
If I connect from laptop to 192.168.10.11 it works

I realize it shouldn't have anything to do with the Netgear-router, if so I shouldn't be able to connect to the other box.
However, it DID work just like this with the other Netgear-router (a v1 that broke down), that's why I'm a bit confused...
Message 4 of 10
jmizoguchi
Virtuoso

Re: v3 weird problem

called loopback.. it will not work.
VPN Case Study

VPNCASESTUDY.COM

"Our Second To None VPN Related Setup Case Study[/COLOR][/URL]

"One Stop Solution To Your Netgear VPN Connectivity"

*Visit the site for Non-VPN related Doc & Links* [Windows & Mac user/support]





June Mizoguchi-
Message 5 of 10
calmius
Aspirant

Re: v3 weird problem

jmizoguchi wrote:
called loopback.. it will not work.


I'm not sure what you are referring to...
Message 6 of 10
jmizoguchi
Virtuoso

Re: v3 weird problem

calmius wrote:
I'm not sure what you are referring to...


If I connect from laptop to 192.168.1.2 I get connection refused
VPN Case Study

VPNCASESTUDY.COM

"Our Second To None VPN Related Setup Case Study[/COLOR][/URL]

"One Stop Solution To Your Netgear VPN Connectivity"

*Visit the site for Non-VPN related Doc & Links* [Windows & Mac user/support]





June Mizoguchi-
Message 7 of 10
Mars Mug
Virtuoso

Re: v3 weird problem

calmius wrote:
Netgear "outside" address is 192.168.10.11 (I've got an external fw that keeps the outside out)
Netgear inside address is 192.168.1.1
ubuntu: 192.168.1.2
laptop: 192.168.1.5

Netgear has a portforward from "outside" to 192.168.1.2 on port 22

If I connect from laptop to 192.168.1.2 I get connection refused
If I connect from laptop to 192.168.10.11 it works


To use the Port Forward feature of the router you would need to address the WAN IP with the correct port number i.e. http://192.168.10.1:22 would be routed to LAN IP 192.168.1.2:22, assuming the router supports Loopback, many don’t. http://www.dyndns.com/support/kb/loopback_connections.html

You say you are accessing the Ubuntu from the Laptop using the address 192.168.10.11, was that a typo, did you actually mean 192.168.10.1?

Since using the direct address 192.168.1.2 fails I believe what smlunatick posted may be relevant, since that address doesn’t need to be routed at all. In fact if you set static addresses on the machines and used a switch or direct Ethernet connection then the router wouldn’t be needed.
Message 8 of 10
calmius
Aspirant

Re: v3 weird problem

jmizoguchi wrote:
If I connect from laptop to 192.168.1.2 I get connection refused


If the laptop has IP 192.168.1.5, why would it be "loopback" to connect to 192.168.1.2 ?

Regardless, I figured it out.
It was a major snafu on my account.

IGNORE EVERYTHING! Smiley Happy
Message 9 of 10
Mars Mug
Virtuoso

Re: v3 weird problem

calmius wrote:
Regardless, I figured it out.
It was a major snafu on my account.


It would be helpful if you could tell us what that error was.
Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 3174 views
  • 0 kudos
  • 4 in conversation
Announcements

Orbi WiFi 6E