Push uPnP to first router from DDWRT

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Mon Sep 11, 2017 12:38    Post subject: Push uPnP to first router from DDWRT Reply with quote
I have two routers(first one is from ISP) and the second one is my main router with DDWRT-EA6900.

I want to push uPnP settings to ISP router with a script from DDWRT router because I have to regularly hard reset the ISP router (dont ask me why).

For now I manually set port forwardings on ISP router every time I make a hard reset. I would like to automate this.

So I want to somehow forward settings for port forwarding from DDWRT (WAN port - manually set IP)->ISP router (has uPnP setting).

Wow, I am not sure you will understand me Wink

PS: I don't want to set something like DMZ.
Sponsor
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Wed Sep 13, 2017 16:58    Post subject: Reply with quote
I guess it is a too tough question Smile

It would be also possible to set this with a Windows computer I use as a server. But I didn't find any software tools to do this. I only found tools to set DDWRTs uPnP, but I dont want that.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3350

PostPosted: Wed Sep 13, 2017 19:05    Post subject: Reply with quote
What mode is the dd-wrt router in (Gateway or Router)?

Can you set static routes on the isp router?
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Wed Sep 13, 2017 21:04    Post subject: Reply with quote
DD WRT router is set as a router.
ISP router is very limited as settings go. I can set port forwarding and some other minor things.

I set DD WRT to static IP for WAN to 192.168.1.11 (ddwrt is at 192.168.2.x)
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3350

PostPosted: Thu Sep 14, 2017 4:47    Post subject: Reply with quote
In router mode there is no port forwarding as NAT is disabled.

Is Internet working?

Can you ping the isp router from a client behind the dd-wrt?

It's the clients that open ports with upnp.
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Thu Sep 14, 2017 7:17    Post subject: Reply with quote
Clients open ports only on DDWRT but it does not translate to ISP router, there is internet, I can ping and access ISP router at 192.168.1.254 and DDWRT router at 192.168.2.254. I only see uPnP ports in DDWRT, but they dont translate to ISP router.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3350

PostPosted: Thu Sep 14, 2017 15:07    Post subject: Reply with quote
How many clients do you have on the LAN?

Your isp router may go down because it goes out of connections.

Isn't it possible to set the isp router as modem and have the public ip on the dd-wrt router?
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Thu Sep 14, 2017 16:33    Post subject: Reply with quote
I reset the ISP router because of some settings get reset (for IPTV). Nothing is wrong with the ISP router, nothing wrong with DDWRT aether.

I dont want to set it to external IP (I have this option but dont want to use it) because I would not be able to check the parameters for DSL line etc.

I just want DDWRT router to act as a client for uPnP setting.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3350

PostPosted: Thu Sep 14, 2017 17:52    Post subject: Reply with quote
http://www.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration
Znida
DD-WRT Novice


Joined: 30 Jan 2013
Posts: 12

PostPosted: Fri Sep 15, 2017 6:59    Post subject: Reply with quote
Thank you for your help but this does not help me. I guess I cant explain the problem.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 3350

PostPosted: Fri Sep 15, 2017 7:30    Post subject: Reply with quote
Wouldn't you get a working system by putting the isp router into modem mode with the public address on the dd-wrt router and using the above document to get access to the modem configuration?

The weak point, the isp router will be eliminated. The function you ask for does not exist, but if it did it would make the isp router crash again.

The second best option is to put the dd-wrt router in the dmz and change dd-wrt to Operation Modd=Gateway.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum