I'm still in the process of setting up my OpenWrt router, so for the time being it is connected to my current router. The OpenWrt machine uses the subnet 192.168.3.1 and my main router 192.168.1.1. I have created a new rule in /etc/config/firewall
with the expectation to have full access:
config rule
option name 'old-network'
option src 'wan'
option list src_ip '0.0.0.0'
option list src_ip '::'
option target 'ACCEPT'
list proto 'all'
When restarting the firewall I got the error message ! Skipping due to different family of ip address
so I split the rule up to the following two:
config rule
option name 'old-network'
option src 'wan'
option list src_ip '0.0.0.0'
option target 'ACCEPT'
list proto 'all'
option family 'ipv4'
config rule
option name 'old-network6'
option src 'wan'
option list src_ip '::'
option target 'ACCEPT'
list proto 'all'
option family 'ipv6'
Unfortunately I'm getting Connection refused error if I try to access e.g. LuCI via (in my case) 192.168.1.110 or if I try to SSH into the router. Adding option dest 'lan'
didn't change anything. Did I forget to change some other settings?
This is of course just a temporary rule, which I will delete once I put the router "in production".