Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nih



40 posts

Geek


# 173605 29-May-2015 10:33
Send private message

Hi there

My HG659 won't detect my virtual device when it's on the network. Even if I manually create the device in the admin it seems like if it doesn't see it online it won't forward ports to it. Right now accessing port 80 from the outside.

I've set up evil.deceptico.nz to point to my current IP, which is 163.47.221.173.

If I go to http://evil.deceptico.nz/ I get redirected to https://163.47.221.173/html/pub/redirect.asp?origin=aHR0cHM6Ly9ldmlsLmRlY2VwdGljby5uei8= - is this the modem? Because if I go to http://163.47.221.173 I get my HG659 management page.

Seems like I have a stack of problems. Can anyone help?

Create new topic
279 posts

Ultimate Geek


  # 1314099 29-May-2015 13:21
Send private message

Your domain resolves to your IP, when a user tries to access your IP the router checks if you are:
inside your lan->HG659 management page
outside your lan->redirect user back to their previous page (or similar)

[I presume based on your information]

nih



40 posts

Geek


  # 1314213 29-May-2015 15:58
Send private message

Sounds about right. Not sure where the destination with the ASP url is coming from though.

Any ideas on the virtual mac device not being found by the router? Or is there some way to unlock a superuser mode on the router so I can just do a static forward to an ip address? Or is there something I can run on my windows device that IS found that can re-route by port to the virtual machine?

 
 
 
 


1015 posts

Uber Geek

Trusted

  # 1314223 29-May-2015 16:10
Send private message

Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?

nih



40 posts

Geek


  # 1314241 29-May-2015 16:40
Send private message

Okay, so I managed to ssh in and get a shell. I modified iptables to forward ssh to my virtual box by IP, which worked perfectly. I'm still getting that weird redirect on port 80 however. These are the port 80 rules on the box, including my rule for redirecting web traffic to my VM:

ACCEPT tcp -- anywhere 192.168.1.4 tcp dpt:www
ACCEPT tcp -- anywhere anywhere multiport dports www,https
ACCEPT tcp -- anywhere anywhere multiport dports www,https
DROP tcp -- anywhere anywhere multiport dports ftp,990,www,https,ssh,netbios-ns,netbios-dgm,netbios-ssn,445,37215,37443,telnet

The first rule is the one I added. How do I modify these rules to pass external web traffic to my VM?

nih



40 posts

Geek


  # 1314244 29-May-2015 16:42
Send private message

Andib: Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?


Yes I have. No matter how I configure it the VM won't show up in the management page as a device, so I've bypassed that entirely.

It looks like I can just modify the iptables rules to get around the strange port 80 configuration it has though, although I have used port forwarding with a bare metal device to capture port 80 traffic before. That's definitely possible. And yep, a Vodafone HG659.

1015 posts

Uber Geek

Trusted

  # 1314249 29-May-2015 16:48
Send private message

nih:
Andib: Is this a Vodafone HG659 by anychance? if so nothing you do will allow you to port forward port 80 as it is taken by the management page.

As for your VM, have you set the virtual NIC as bridge mode?


Yes I have. No matter how I configure it the VM won't show up in the management page as a device, so I've bypassed that entirely.

It looks like I can just modify the iptables rules to get around the strange port 80 configuration it has though, although I have used port forwarding with a bare metal device to capture port 80 traffic before. That's definitely possible. And yep, a Vodafone HG659.


If you want to port forward on port 80 you can always flash your 659 with Spark firmware which allows you to turn off the Remote Management over the WAN freeing up port 80.

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Arlo unveils its first video doorbell
Posted 21-Oct-2019 08:27


New Zealand students shortlisted for James Dyson Award
Posted 21-Oct-2019 08:18


Norton LifeLock Launches Norton 360
Posted 21-Oct-2019 08:11


Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18


Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.