Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: Access Zyxel Behind Netgear AP  (Read 4248 times)

zvirus

  • Member
  • **
  • Posts: 47
Access Zyxel Behind Netgear AP
« on: May 06, 2020, 05:51:06 PM »

Hi,

 Did plenty of research but no joy...

 Cant access my Fancy new router set as Modem/BRIDGE. Cant get stats over telnet.

 Its Zyxel VMG8924-B10A (AAKL.28)

 I have followed this one:
 https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm#linestats

 and then tried something else https://forum.kitz.co.uk/index.php/topic,21825.0.html   - still no success... :(

Does not over WAN, Does not work on 2 lan cables too

 My routing table on R7000:
..
Destination   Gateway   Genmask   Flags   Metric   Ref   Use   Iface
92.20.160.1   *   255.255.255.255   UH   0   0   0   WAN
192.168.2.0   *   255.255.255.0          U   0   0   0   LAN
192.168.1.0   *   255.255.255.0         U   0   0   0   WAN
92.20.160.0   *   255.255.224.0         U   0   0   0   WAN
default         92.20.160.1   0.0.0.0       UG   0   0   0   WAN

Routing on Zyxel:


R7000 ip: 192.168.2.1
Zyxel ip: 192.168.1.1

In the past it worked with ALL routers I  had HG612 3b, D-link 3872

I managed to get them to  work via WAN - did not use 2 LAN cables with HG612

On top of it, when connected to my PC to get an access to Zyxel I can login and do whatever I like but... telnet does not work  :o SORTED

HELP  :baby:

Thank You in advance

Tomas
« Last Edit: May 06, 2020, 07:31:19 PM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #1 on: May 06, 2020, 11:13:03 PM »

Ok. Got it...

First thing on Zyxel:



Second: I set the R7000 xwrt  ip to: 192.168.1.254 - making sure DHCP will end at .253 not .254(!)


Made some start scrips on my R7000 xwrt  including two commands:

Code: [Select]
ifconfig eth0:1 192.168.2.253 netmask 255.255.255.0

and:

Code: [Select]
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.253
So I do not have to run them after reboot/s

And now I can access Zyxel WITHOUT 2 cables over WAN.... by typing 192.168.2.254

and R7000 by typing 192.168.1.254


Cheers!

« Last Edit: May 07, 2020, 09:56:38 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Access Zyxel Behind Netgear AP
« Reply #2 on: May 06, 2020, 11:56:15 PM »

. . . now I can access Zyxel WITHOUT 2 cables over WAN.... by typing 192.168.2.254

and R7000 by typing 192.168.1.254

That's good to know. Thank you for posting your solution.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #3 on: May 07, 2020, 07:31:43 AM »

Hi,

 My pleasure! You guys are so helpful here - its my duty to share my little knowledge ;)

So, If you owe Asus AP(might work for other decent routers) connected to a modem you can use these scripts placed in: /jffs/scripts/

wan-event

Code: [Select]
#!/bin/sh
ifconfig eth0:1 192.168.2.253 netmask 255.255.255.0

nat-start

Code: [Select]
#!/bin/sh
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.253

Make sure their ownership is: 0755, and make sure to: Enable JFFS custom scripts and configs in your router


And in my case (unfortunately I must use MS Windows due to Music Editing and production) you MUST run this command:

Code: [Select]
dos2unix /jffs/scripts/*
Otherwise ALL scripts placed in catalog /scripts/ WONT work - I guarantee You. Unless Your Windows text editor is set to EOL > Unix/OSX

I use Win SCP software to edit/add files in my Access Point.


Cheers!
« Last Edit: May 07, 2020, 08:21:30 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #4 on: May 07, 2020, 09:38:05 AM »

On asus router you don't need scripts, I configured zyxel VMG1312-B10A with one cable and was working perfectly fine.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #5 on: May 07, 2020, 09:50:42 AM »

Yes, You do not need scrips but routes wont be "remembered" after restart - hence you have tu run commands manually....

without these commands I could not connect with my zyxel and trust me - I spent hours on this "issue" :)
My 1st approach was - do not use any extra routing(executed commands adding new routes) - It did not work...

My Zyxel`s default IP is: 192.168.1.1
My R7000 ip is: 192.168.1.254

and guess what? I cant connect with 192.168.1.1 no matter what. Im rather green regarding network...
« Last Edit: May 07, 2020, 09:59:32 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #6 on: May 07, 2020, 10:36:50 AM »

I only mention asus router, therefore not sure how it will looks like on others.
https://forum.kitz.co.uk/index.php/topic,24210.msg410739.html#msg410739
And you can reboot asus as much as you like, always will work.
« Last Edit: May 07, 2020, 10:40:14 AM by mrk26 »
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #7 on: May 07, 2020, 11:22:29 AM »

« Last Edit: May 07, 2020, 11:36:24 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #8 on: May 07, 2020, 11:35:25 AM »

Yes, this instruction is for modem set in bridge mode. I personally have modem setup in bridge, and either vigor2760 or zyxel VMG1312-B10A working that way, on booth stock and Merlin fw. No issues at all. Only difference is that I don't have any vlan setup as for standard UK connection vlan id 101 is set in modem.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #9 on: May 07, 2020, 11:39:23 AM »

« Last Edit: May 07, 2020, 11:52:40 AM by zvirus »
Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #10 on: May 07, 2020, 11:51:52 AM »

You have above instructions how to setup asus, in thread to which I post link are instructions above my post how to configure zyxel for one cable operation.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #11 on: May 07, 2020, 11:53:45 AM »

Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #12 on: May 07, 2020, 11:55:03 AM »

Post screenshot once you go to wan tab on your router.
Logged

zvirus

  • Member
  • **
  • Posts: 47
Re: Access Zyxel Behind Netgear AP
« Reply #13 on: May 07, 2020, 11:55:53 AM »

Logged
Virgin M200 200/20

With QoS turned ON...

mrk26

  • Reg Member
  • ***
  • Posts: 195
Re: Access Zyxel Behind Netgear AP
« Reply #14 on: May 07, 2020, 11:56:54 AM »

Wan connection type on yours is set to automatic IP, what's other options on drop down list?
Logged
Pages: [1] 2