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?

 
 
 
 


1016 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.

1016 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 »

Chorus to launch Hyperfibre service
Posted 18-Nov-2019 15:00


Microsoft launches first Experience Center worldwide for Asia Pacific in Singapore
Posted 13-Nov-2019 13:08


Disney+ comes to LG Smart TVs
Posted 13-Nov-2019 12:55


Spark launches new wireless broadband "Unplan Metro"
Posted 11-Nov-2019 08:19


Malwarebytes overhauls flagship product with new UI, faster engine and lighter footprint
Posted 6-Nov-2019 11:48


CarbonClick launches into Digital Marketplaces
Posted 6-Nov-2019 11:42


Kordia offers Microsoft Azure Peering Service
Posted 6-Nov-2019 11:41


Spark 5G live on Auckland Harbour for Emirates Team New Zealand
Posted 4-Nov-2019 17:30


BNZ and Vodafone partner to boost NZ Tech for SME
Posted 31-Oct-2019 17:14


Nokia 7.2 available in New Zealand
Posted 31-Oct-2019 16:24


2talk launches Microsoft Teams Direct Routing product
Posted 29-Oct-2019 10:35


New Breast Cancer Foundation app puts power in Kiwi women's hands
Posted 25-Oct-2019 16:13


OPPO Reno2 Series lands, alongside hybrid noise-cancelling Wireless Headphones
Posted 24-Oct-2019 15:32


Waikato Data Scientists awarded $13 million from the Government
Posted 24-Oct-2019 15:27


D-Link launches Wave 2 Unified Access Points
Posted 24-Oct-2019 15:07



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.