Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilizing the WAN port as a 2nd LAN port #24

Open
jebbgrenham opened this issue Oct 12, 2023 · 1 comment
Open

Utilizing the WAN port as a 2nd LAN port #24

jebbgrenham opened this issue Oct 12, 2023 · 1 comment

Comments

@jebbgrenham
Copy link

Has anyone explored the feasibility of this or accomplished this?
cfw ^.* doesn't seem to expose a way to do this easily.

`
lan.dns.auto=1
lan.dns.hand1=
lan.dns.hand2=
lan.gst.1.ip=192.168.10.1
lan.gst.1.mask=255.255.255.0
lan.ip=192.168.5.1
lan.mask=255.255.255.0
lan.portmirror=0;1;0,0,0,0
lan.snat.en=0
lan.snat.list=
lan.webip=0.0.0.0
lan.webipen=0
lan.webiplansslen=0
lan.webport=80
lan1_ifname=br0:1
lan1_ifnames=wl0-va0 wl1-va0
lan_ifname=br0
lan_ifnames=vlan1 wlan0 wlan1

wan.detecttype=5
wan.ipv6.en=0
wan1.accessen=1
wan1.connecttype=0
wan1.dhcp.dns.auto=1
wan1.dhcp.dns.hand1=
wan1.dhcp.dns.hand2=
wan1.dmzen=0
wan1.dmzip=192.168.5.100
wan1.dns1=
wan1.dns2=
wan1.downrate=128000
wan1.dynamicMTU=1500
wan1.gateway=
wan1.ip=
wan1.isp=0
wan1.l2tp.dns.auto=1
wan1.l2tp.dns.hand1=
wan1.l2tp.dns.hand2=
wan1.l2tp.double.access=0
wan1.l2tp.mode=1
wan1.l2tp.mtu=1460
wan1.l2tp.pw=
wan1.l2tp.serverip=
wan1.l2tp.user=
wan1.mac.clone.en=0
wan1.mac.clone.type=0
wan1.macaddr=CC:2D:21:3D:F2:07
wan1.manual.dns.en=0
wan1.manual.dns1=
wan1.manual.dns2=
wan1.mask=
wan1.mtutype=1
wan1.net.type=0
wan1.param=0
wan1.port=3
wan1.ppoe.ac=
wan1.ppoe.auth_code=
wan1.ppoe.conmode=
wan1.ppoe.double.access=0
wan1.ppoe.h.e=
wan1.ppoe.h.s=
wan1.ppoe.idletime=
wan1.ppoe.m.e=
wan1.ppoe.m.s=
wan1.ppoe.mode=1
wan1.ppoe.mtu=1480
wan1.ppoe.pwd=
wan1.ppoe.sev=
wan1.ppoe.userid=
wan1.pppoe.dns.auto=1
wan1.pppoe.dns.hand1=
wan1.pppoe.dns.hand2=
wan1.pptp.dns.auto=1
wan1.pptp.dns.hand1=
wan1.pptp.dns.hand2=
wan1.pptp.double.access=0
wan1.pptp.mode=1
wan1.pptp.mppe=
wan1.pptp.mtu=1452
wan1.pptp.pw=
wan1.pptp.serverip=
wan1.pptp.user=
wan1.scale=
wan1.staticMTU=1500
wan1.uprate=128000
wan2.accessen=0
wan2.connecttype=0
wan2.dmzen=0
wan2.dmzip=
wan2.dns1=
wan2.dns2=
wan2.downrate=1536
wan2.dynamicMTU=1500
wan2.gateway=
wan2.ip=
wan2.isp=0
wan2.l2tp.double.access=0
wan2.l2tp.mode=1
wan2.l2tp.mtu=1492
wan2.l2tp.pw=
wan2.l2tp.serverip=
wan2.l2tp.user=
wan2.macaddr=CC:2D:21:3D:F3:08
wan2.mask=
wan2.mtutype=1
wan2.net.type=0
wan2.param=0
wan2.ppoe.ac=
wan2.ppoe.auth_code=
wan2.ppoe.conmode=
wan2.ppoe.double.access=0
wan2.ppoe.mode=1
wan2.ppoe.mtu=1492
wan2.ppoe.pwd=
wan2.ppoe.sev=
wan2.ppoe.userid=
wan2.pptp.double.access=0
wan2.pptp.mode=1
wan2.pptp.mppe=
wan2.pptp.mtu=1492
wan2.pptp.pw=
wan2.pptp.serverip=
wan2.pptp.user=
wan2.scale=
wan2.staticMTU=1500
wan2.uprate=102
wan3.macaddr=CC:2D:21:3D:F4:09
wan4.macaddr=CC:2D:21:3D:F5:0A
wan_check=0
wan_isonln=0
wans.auto.scale=1:1
wans.flag=1
wans.ispmode=0
wans.loadbalancetype=0
wans.location=-1 0 -1 1 -1
wans.manual.enable=0
wans.manual.scale=1:1
wans.policy.list1=
wans.policy.listnum=0
wans.policymode=0
wans.wanweben=0
wans.wanwebip=0.0.0.0
wans.wanwebport=8080
wans.wanwebsslen=0
`

@crees
Copy link
Contributor

crees commented Oct 12, 2023

I think it's unlikely to be easy- the devices are expected to be used routing-wise with the WAN port, but best of luck if you do experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants