Accessing bridged modem

Hi all
i have this typical setup
wall --> bridge (192.168.1.1) --> LEDE (192.168.1.2) --> pc (192.168.1.x)
and I wan to access bridged modem's UI through LEDE.
Is this possible?

It depends... how would you access that UI without the LEDE router between the PC and the bridge?

i have this typical setup
wall --> bridge (192.168.1.1) --> LEDE (192.168.1.2) --> pc (192.168.1.x)
and I wan to access bridged modem’s UI through LEDE.
Is this possible?

The best way is to change the IP subnets so they don't conflict. Change the IP of the bridge or the subnet used on the LAN. After that it may be enough to add a second WAN interface to LEDE with the subnet used by the bridge, but don't use it as default gateway. I think adding it to the WAN zone will automatically enable NAT which is needed to reach the bridge from the LAN. The bridge won't be able to directly address the LAN unless you add a static route on the bridge.

Generally your modem ip user interface via http would be 192.168.100.1, if you have the modem in bridged mode, but if its a modem/router you generally have to login as technician to change it. here is an example of rebooting a regular modem and changing a mac address in python.

code:

import requests
import paramiko
import os
import sys
import time
import random
import string
import getpass
r = requests.session()
def randomMac():
 	return [ 0x00,
		random.randint(0x00,0x7f),
		random.randint(0x00,0x7f),
		random.randint(0x00,0x7f),
		random.randint(0x00,0xff),
		random.randint(0x00,0xff)]
def Mprettyprint(mac):
	return ':'.join(map(lambda x: "%02x" % x, mac))
ipadd = raw_input('Enter Ip Address to router:\n')
pass = getpass.getpass('Enter Password:\n')
def ipchange():
	try:

		f = Mprettyprint(randomMac())
		change = f
		data1 = 'reset_modem=Restart+Cable+Modem'
		url1 = 'http://192.168.100.1/reset.htm'
		m = r.post(url1,data1)
		print m.status_code
		print '###modem reset###'
		client = paramiko.SSHClient()
		client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
		client.connect(''+ipadd+'', username='root',password=''+pass+'')
		stdin, stdout, stderr = client.exec_command("macchanger -bm "+change+" eth0.2")
		#stdin, stdout, stderr = client.exec_command("macchanger -bA eth0.2")
		#t = stdout
		for i in stdout:
			print i
		#print t[2]
		print '###mac changed###'
		stdin, stdout, stderr = client.exec_command("ifconfig eth0.2 down")
		stdin, stdout, stderr = client.exec_command("ifconfig eth0.2 up")
		time.sleep(90)
		stdin, stdout, stderr = client.exec_command("ifconfig eth0.2")	
		for lines in stdout:
			print stdout.readline()
		with open('iplist.txt','a') as file:
			stdin, stdout, stderr = client.exec_command("ifconfig eth0.2 | grep 'inet addr'")
			file.write(stdout.readline())	
		file.close()	
		client.close()
		print "###Ip Written to List###"
		t = input('Press Enter to exit')
	except SyntaxError:
		sys.exit()

ipchange()