antoniorodc
New Around Here
I have the following setup to access Internet:
FTTH <----> ONT Router <----> (WAN Port) RT-AC86U <----> LAN
Internet <---------------------> VLAN <----------------> LAN
Internet <---------------------> Public IP <-----------> 192.168.1.1/24
---------- 192.168.100.1/24 <--------------------------> 192.168.1.1/24
I want to access to IP of ONT router (192.168.100.1) from local network RT-AC86U (192.168.1.x)
I tried to create one new vlan:
vlanctl --mcast --if-create eth0 1
vlanctl --if eth0 --rx --tags 0 --set-rxif eth0.v1 --rule-append
vlanctl --if eth0 --tx --tags 0 --filter-txif eth0.v1 --rule-append
ifconfig eth0.v1 allmulti up
ifconfig eth0.v1 192.168.100.2 netmask 255.255.255.0 up
iptables -t nat -I POSTROUTING -o eth0.v1 -j MASQUERADE
This way I can access to Ont Router but broken Internet traffic.
Can you help me? Some different idea?
FTTH <----> ONT Router <----> (WAN Port) RT-AC86U <----> LAN
Internet <---------------------> VLAN <----------------> LAN
Internet <---------------------> Public IP <-----------> 192.168.1.1/24
---------- 192.168.100.1/24 <--------------------------> 192.168.1.1/24
I want to access to IP of ONT router (192.168.100.1) from local network RT-AC86U (192.168.1.x)
I tried to create one new vlan:
vlanctl --mcast --if-create eth0 1
vlanctl --if eth0 --rx --tags 0 --set-rxif eth0.v1 --rule-append
vlanctl --if eth0 --tx --tags 0 --filter-txif eth0.v1 --rule-append
ifconfig eth0.v1 allmulti up
ifconfig eth0.v1 192.168.100.2 netmask 255.255.255.0 up
iptables -t nat -I POSTROUTING -o eth0.v1 -j MASQUERADE
This way I can access to Ont Router but broken Internet traffic.
Can you help me? Some different idea?
Last edited: